ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilIndividualAssessmentInfoSettings.php
Go to the documentation of this file.
1<?php
8 protected $id;
9 protected $contanct;
10 protected $responsibility;
11 protected $phone;
12 protected $mails;
14
15 public function __construct(
17 , $contanct = null
18 , $responsibility = null
19 , $phone = null
20 , $mails = null
21 , $consultation_hours = null) {
22 $this->id = $iass->getId();
23 $this->contact = $contanct;
25 $this->phone = $phone;
26 $this->mails = $mails;
27 $this->consultation_hours = $consultation_hours;
28 }
29
30 public function id() {
31 return $this->id;
32 }
33
34 public function contact() {
35 return $this->contact;
36 }
37
38 public function responsibility() {
40 }
41
42 public function phone() {
43 return $this->phone;
44 }
45
46 public function mails() {
47 return $this->mails;
48 }
49
50 public function consultationHours() {
52 }
53
54
55 public function setContact($contact) {
56 assert('is_string($contact) || $contact === null');
57 $this->contact = $contact;
58 return $this;
59 }
60
62 assert('is_string($responsibility) || $responsibility === null');
64 return $this;
65 }
66
67 public function setPhone($phone) {
68 assert('is_string($phone) || $phone === null');
69 $this->phone = $phone;
70 return $this;
71 }
72
73 public function setMails($mails) {
74 assert('is_string($mails) || $mails === null');
75 $this->mails = $mails;
76 return $this;
77 }
78
80 assert('is_string($consultation_hours) || $consultation_hours === null');
81 $this->consultation_hours = $consultation_hours;
82 return $this;
83 }
84}
An exception for terminatinating execution or to throw for unit testing.
__construct(ilObjIndividualAssessment $iass, $contanct=null, $responsibility=null, $phone=null, $mails=null, $consultation_hours=null)
For the purpose of streamlining the grading and learning-process status definition outside of tests,...
getId()
get object id @access public