6 * @copyright (c) P.Pollet 2007 under GPL
104 public $hiddensections;
112 public $groupmodeforce;
132 public $timemodified;
137 /* full constructor */
138 public function courseRecord($error='',$id=0,$category=0,$sortorder=0,$password='',$fullname='',$shortname='',$idnumber='',$summary='',$format='',$showgrades=0,$newsitems=0,$teacher='',$teachers='',$student='',$students='',$guest=0,$startdate=0,$enrolperiod=0,$numsections=0,$marker=0,$maxbytes=0,$visible=0,$hiddensections=0,$groupmode=0,$groupmodeforce=0,$lang='',$theme='',$cost='',$timecreated=0,$timemodified=0,$metacourse=0){
139 $this->error=$error ;
141 $this->category=$category ;
142 $this->sortorder=$sortorder ;
143 $this->password=$password ;
144 $this->fullname=$fullname ;
145 $this->shortname=$shortname ;
146 $this->idnumber=$idnumber ;
147 $this->summary=$summary ;
148 $this->format=$format ;
149 $this->showgrades=$showgrades ;
150 $this->newsitems=$newsitems ;
151 $this->teacher=$teacher ;
152 $this->teachers=$teachers ;
153 $this->student=$student ;
154 $this->students=$students ;
155 $this->guest=$guest ;
156 $this->startdate=$startdate ;
157 $this->enrolperiod=$enrolperiod ;
158 $this->numsections=$numsections ;
159 $this->marker=$marker ;
160 $this->maxbytes=$maxbytes ;
161 $this->visible=$visible ;
162 $this->hiddensections=$hiddensections ;
163 $this->groupmode=$groupmode ;
164 $this->groupmodeforce=$groupmodeforce ;
166 $this->theme=$theme ;
168 $this->timecreated=$timecreated ;
169 $this->timemodified=$timemodified ;
170 $this->metacourse=$metacourse ;
173 public function getError(){
177 public function getId(){
181 public function getCategory(){
182 return $this->category;
185 public function getSortorder(){
186 return $this->sortorder;
189 public function getPassword(){
190 return $this->password;
193 public function getFullname(){
194 return $this->fullname;
197 public function getShortname(){
198 return $this->shortname;
201 public function getIdnumber(){
202 return $this->idnumber;
205 public function getSummary(){
206 return $this->summary;
209 public function getFormat(){
210 return $this->format;
213 public function getShowgrades(){
214 return $this->showgrades;
217 public function getNewsitems(){
218 return $this->newsitems;
221 public function getTeacher(){
222 return $this->teacher;
225 public function getTeachers(){
226 return $this->teachers;
229 public function getStudent(){
230 return $this->student;
233 public function getStudents(){
234 return $this->students;
237 public function getGuest(){
241 public function getStartdate(){
242 return $this->startdate;
245 public function getEnrolperiod(){
246 return $this->enrolperiod;
249 public function getNumsections(){
250 return $this->numsections;
253 public function getMarker(){
254 return $this->marker;
257 public function getMaxbytes(){
258 return $this->maxbytes;
261 public function getVisible(){
262 return $this->visible;
265 public function getHiddensections(){
266 return $this->hiddensections;
269 public function getGroupmode(){
270 return $this->groupmode;
273 public function getGroupmodeforce(){
274 return $this->groupmodeforce;
277 public function getLang(){
281 public function getTheme(){
285 public function getCost(){
289 public function getTimecreated(){
290 return $this->timecreated;
293 public function getTimemodified(){
294 return $this->timemodified;
297 public function getMetacourse(){
298 return $this->metacourse;
302 public function setError($error){
306 public function setId($id){
310 public function setCategory($category){
311 $this->category=$category;
314 public function setSortorder($sortorder){
315 $this->sortorder=$sortorder;
318 public function setPassword($password){
319 $this->password=$password;
322 public function setFullname($fullname){
323 $this->fullname=$fullname;
326 public function setShortname($shortname){
327 $this->shortname=$shortname;
330 public function setIdnumber($idnumber){
331 $this->idnumber=$idnumber;
334 public function setSummary($summary){
335 $this->summary=$summary;
338 public function setFormat($format){
339 $this->format=$format;
342 public function setShowgrades($showgrades){
343 $this->showgrades=$showgrades;
346 public function setNewsitems($newsitems){
347 $this->newsitems=$newsitems;
350 public function setTeacher($teacher){
351 $this->teacher=$teacher;
354 public function setTeachers($teachers){
355 $this->teachers=$teachers;
358 public function setStudent($student){
359 $this->student=$student;
362 public function setStudents($students){
363 $this->students=$students;
366 public function setGuest($guest){
370 public function setStartdate($startdate){
371 $this->startdate=$startdate;
374 public function setEnrolperiod($enrolperiod){
375 $this->enrolperiod=$enrolperiod;
378 public function setNumsections($numsections){
379 $this->numsections=$numsections;
382 public function setMarker($marker){
383 $this->marker=$marker;
386 public function setMaxbytes($maxbytes){
387 $this->maxbytes=$maxbytes;
390 public function setVisible($visible){
391 $this->visible=$visible;
394 public function setHiddensections($hiddensections){
395 $this->hiddensections=$hiddensections;
398 public function setGroupmode($groupmode){
399 $this->groupmode=$groupmode;
402 public function setGroupmodeforce($groupmodeforce){
403 $this->groupmodeforce=$groupmodeforce;
406 public function setLang($lang){
410 public function setTheme($theme){
414 public function setCost($cost){
418 public function setTimecreated($timecreated){
419 $this->timecreated=$timecreated;
422 public function setTimemodified($timemodified){
423 $this->timemodified=$timemodified;
426 public function setMetacourse($metacourse){
427 $this->metacourse=$metacourse;