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 = "";
9
13 protected $content;
14
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}
An exception for terminatinating execution or to throw for unit testing.
An object carrying settings of an Individual Assessment obj beyond the standart information.
getId()
Get the id of corrwsponding iass-object.
content()
Get the content of this assessment, e.g.
__construct(ilObjIndividualAssessment $iass, $content=null, $record_template=null)
setRecordTemplate($record_template)
Get the record template to be used as default record with corresponding object.
setContent($content)
Set the content of this assessment, e.g.
recordTemplate()
Get the record template to be used as default record with corresponding object.
For the purpose of streamlining the grading and learning-process status definition outside of tests,...
getId()
get object id @access public