ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilIndividualAssessmentInfoSettings.php
Go to the documentation of this file.
1 <?php
8 {
9  protected $id;
10  protected $contanct;
11  protected $responsibility;
12  protected $phone;
13  protected $mails;
15 
16  public function __construct(
18  $contanct = null,
19  $responsibility = null,
20  $phone = null,
21  $mails = null,
22  $consultation_hours = null
23  ) {
24  $this->id = $iass->getId();
25  $this->contact = $contanct;
27  $this->phone = $phone;
28  $this->mails = $mails;
29  $this->consultation_hours = $consultation_hours;
30  }
31 
32  public function id()
33  {
34  return $this->id;
35  }
36 
37  public function contact()
38  {
39  return $this->contact;
40  }
41 
42  public function responsibility()
43  {
44  return $this->responsibility;
45  }
46 
47  public function phone()
48  {
49  return $this->phone;
50  }
51 
52  public function mails()
53  {
54  return $this->mails;
55  }
56 
57  public function consultationHours()
58  {
60  }
61 
62 
63  public function setContact($contact)
64  {
65  assert(is_string($contact) || $contact === null);
66  $this->contact = $contact;
67  return $this;
68  }
69 
71  {
72  assert(is_string($responsibility) || $responsibility === null);
74  return $this;
75  }
76 
77  public function setPhone($phone)
78  {
79  assert(is_string($phone) || $phone === null);
80  $this->phone = $phone;
81  return $this;
82  }
83 
84  public function setMails($mails)
85  {
86  assert(is_string($mails) || $mails === null);
87  $this->mails = $mails;
88  return $this;
89  }
90 
92  {
93  assert(is_string($consultation_hours) || $consultation_hours === null);
94  $this->consultation_hours = $consultation_hours;
95  return $this;
96  }
97 }
For the purpose of streamlining the grading and learning-process status definition outside of tests...
__construct(ilObjIndividualAssessment $iass, $contanct=null, $responsibility=null, $phone=null, $mails=null, $consultation_hours=null)
getId()
get object id public