ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilIndividualAssessmentSettings.php
Go to the documentation of this file.
1 <?php
7  const DEF_CONTENT = "";
8  const DEF_RECORD_TEMPLATE = "";
9 
13  protected $content;
14 
18  protected $record_template;
19 
20  public function __construct(ilObjIndividualAssessment $iass, $content = null, $record_template = null) {
21  $this->id = $iass->getId();
22  $this->content = $content !== null ? $content : self::DEF_CONTENT;
23  $this->record_template = $record_template !== null ? $record_template : self::DEF_RECORD_TEMPLATE;
24  }
25 
31  public function getId() {
32  return $this->id;
33  }
34 
40  public function content() {
41  return $this->content;
42  }
43 
50  public function recordTemplate() {
52  }
53 
60  public function setContent($content) {
61  assert('is_string($content)');
62  $this->content = $content;
63  return $this;
64  }
65 
74  assert('is_string($record_template)');
75  $this->record_template = $record_template;
76  return $this;
77  }
78 }
For the purpose of streamlining the grading and learning-process status definition outside of tests...
An object carrying settings of an Individual Assessment obj beyond the standart information.
setContent($content)
Set the content of this assessment, e.g.
recordTemplate()
Get the record template to be used as default record with corresponding object.
__construct(ilObjIndividualAssessment $iass, $content=null, $record_template=null)
getId()
get object id public
content()
Get the content of this assessment, e.g.
getId()
Get the id of corrwsponding iass-object.
setRecordTemplate($record_template)
Get the record template to be used as default record with corresponding object.