ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilIndividualAssessmentSettings Class Reference

An object carrying settings of an Individual Assessment obj beyond the standart information. More...

+ Collaboration diagram for ilIndividualAssessmentSettings:

Public Member Functions

 __construct (ilObjIndividualAssessment $iass, $content=null, $record_template=null)
 
 getId ()
 Get the id of corrwsponding iass-object. More...
 
 content ()
 Get the content of this assessment, e.g. More...
 
 recordTemplate ()
 Get the record template to be used as default record with corresponding object. More...
 
 setContent ($content)
 Set the content of this assessment, e.g. More...
 
 setRecordTemplate ($record_template)
 Get the record template to be used as default record with corresponding object. More...
 

Data Fields

const DEF_CONTENT = ""
 
const DEF_RECORD_TEMPLATE = ""
 

Protected Attributes

 $content
 
 $record_template
 

Detailed Description

An object carrying settings of an Individual Assessment obj beyond the standart information.

Definition at line 6 of file class.ilIndividualAssessmentSettings.php.

Constructor & Destructor Documentation

◆ __construct()

ilIndividualAssessmentSettings::__construct ( ilObjIndividualAssessment  $iass,
  $content = null,
  $record_template = null 
)

Definition at line 20 of file class.ilIndividualAssessmentSettings.php.

References $content, $record_template, content(), and ilObject\getId().

20  {
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  }
getId()
get object id public
content()
Get the content of this assessment, e.g.
+ Here is the call graph for this function:

Member Function Documentation

◆ content()

ilIndividualAssessmentSettings::content ( )

Get the content of this assessment, e.g.

corresponding topics...

Returns
string

Definition at line 40 of file class.ilIndividualAssessmentSettings.php.

References $content.

Referenced by __construct(), ilIndividualAssessmentSettingsStorageDB\createSettings(), ilIndividualAssessmentSettingsGUI\fillForm(), setContent(), and ilIndividualAssessmentSettingsStorageDB\updateSettings().

+ Here is the caller graph for this function:

◆ getId()

ilIndividualAssessmentSettings::getId ( )

Get the id of corrwsponding iass-object.

Returns
int|string

Definition at line 31 of file class.ilIndividualAssessmentSettings.php.

Referenced by ilIndividualAssessmentSettingsStorageDB\createSettings(), and ilIndividualAssessmentSettingsStorageDB\updateSettings().

31  {
32  return $this->id;
33  }
+ Here is the caller graph for this function:

◆ recordTemplate()

ilIndividualAssessmentSettings::recordTemplate ( )

Get the record template to be used as default record with corresponding object.

Returns
string

Definition at line 50 of file class.ilIndividualAssessmentSettings.php.

References $record_template.

Referenced by ilIndividualAssessmentSettingsStorageDB\createSettings(), ilIndividualAssessmentSettingsGUI\fillForm(), and ilIndividualAssessmentSettingsStorageDB\updateSettings().

+ Here is the caller graph for this function:

◆ setContent()

ilIndividualAssessmentSettings::setContent (   $content)

Set the content of this assessment, e.g.

corresponding topics...

Parameters
string$content
Returns
ilIndividualAssessment $this

Definition at line 60 of file class.ilIndividualAssessmentSettings.php.

References $content, and content().

60  {
61  assert('is_string($content)');
62  $this->content = $content;
63  return $this;
64  }
content()
Get the content of this assessment, e.g.
+ Here is the call graph for this function:

◆ setRecordTemplate()

ilIndividualAssessmentSettings::setRecordTemplate (   $record_template)

Get the record template to be used as default record with corresponding object.

Parameters
string$record_template
Returns
ilIndividualAssessment $this

Definition at line 73 of file class.ilIndividualAssessmentSettings.php.

References $record_template.

73  {
74  assert('is_string($record_template)');
75  $this->record_template = $record_template;
76  return $this;
77  }

Field Documentation

◆ $content

ilIndividualAssessmentSettings::$content
protected

Definition at line 13 of file class.ilIndividualAssessmentSettings.php.

Referenced by __construct(), content(), and setContent().

◆ $record_template

ilIndividualAssessmentSettings::$record_template
protected

◆ DEF_CONTENT

const ilIndividualAssessmentSettings::DEF_CONTENT = ""

◆ DEF_RECORD_TEMPLATE


The documentation for this class was generated from the following file: