--- /dev/null
+<?php
+/**
+ *
+ *
+ * @package MoodleWS
+ * @copyright (c) P.Pollet 2007 under GPL
+ */
+class getGroupsReturn {
+ /**
+ * @var (groupRecords) array of groupRecord
+ */
+ public $groups;
+ /* full constructor */
+ public function getGroupsReturn($groups=array()){
+ $this->groups=$groups ;
+ }
+ /* get accessors */
+ public function getGroups(){
+ return $this->groups;
+ }
+
+ /*set accessors */
+ public function setGroups($groups){
+ $this->groups=$groups;
+ }
+
+}
+
+?>