Public Member Functions | |
| ilQTIObjectives () | |
| addMaterial ($a_material) | |
| setView ($a_view) | |
| getView () | |
Data Fields | |
| $materials | |
| $view | |
Definition at line 32 of file class.ilQTIObjectives.php.
| ilQTIObjectives::addMaterial | ( | $ | a_material | ) |
Definition at line 43 of file class.ilQTIObjectives.php.
{
array_push($this->materials, $a_material);
}
| ilQTIObjectives::getView | ( | ) |
Definition at line 69 of file class.ilQTIObjectives.php.
{
return $this->view;
}
| ilQTIObjectives::ilQTIObjectives | ( | ) |
Definition at line 37 of file class.ilQTIObjectives.php.
{
$this->materials = array();
$this->view = "All";
}
| ilQTIObjectives::setView | ( | $ | a_view | ) |
Definition at line 48 of file class.ilQTIObjectives.php.
{
switch ($a_view)
{
case "Administrator":
case "AdminAuthority":
case "Assessor":
case "Author":
case "Candidate":
case "InvigilatorProctor":
case "Psychometrician":
case "Scorer":
case "Tutor":
$this->view = $a_view;
break;
default:
$this->view = "All";
break;
}
}
| ilQTIObjectives::$materials |
Definition at line 34 of file class.ilQTIObjectives.php.
| ilQTIObjectives::$view |
Definition at line 35 of file class.ilQTIObjectives.php.
1.7.1