Public Member Functions | |
ilAICCObjectGUI ($a_id=0) | |
& | getInstance ($a_id) |
get instance of specialized GUI class | |
displayParameter ($a_name, $a_value) | |
Data Fields | |
$sc_object | |
$tpl | |
$lng |
Definition at line 38 of file class.ilAICCObjectGUI.php.
ilAICCObjectGUI::displayParameter | ( | $ | a_name, | |
$ | a_value | |||
) |
Definition at line 85 of file class.ilAICCObjectGUI.php.
Referenced by ilAICCUnitGUI::view(), and ilAICCCourseGUI::view().
{ $this->tpl->setCurrentBlock("parameter"); $this->tpl->setVariable("TXT_PARAMETER_NAME", $a_name); $this->tpl->setVariable("TXT_PARAMETER_VALUE", $a_value); $this->tpl->parseCurrentBlock(); }
& ilAICCObjectGUI::getInstance | ( | $ | a_id | ) |
get instance of specialized GUI class
static
Definition at line 62 of file class.ilAICCObjectGUI.php.
Referenced by ilAICCPresentationGUI::view().
{ $object = new ilAICCObject($a_id); switch($object->getType()) { case "sbl": // Block $block =& new ilAICCBlockGUI($a_id); return $block; break; case "sau": // assignable unit $sau =& new ilAICCUnitGUI($a_id); return $sau; break; case "shd": // course $shd =& new ilAICCCourseGUI($a_id); return $shd; break; } }
ilAICCObjectGUI::ilAICCObjectGUI | ( | $ | a_id = 0 |
) |
Definition at line 45 of file class.ilAICCObjectGUI.php.
Referenced by ilAICCBlockGUI::ilAICCBlockGUI(), ilAICCCourseGUI::ilAICCCourseGUI(), and ilAICCUnitGUI::ilAICCUnitGUI().
{ global $tpl, $lng; if($a_id != 0) { $this->sc_object =& new ilAICCUnit($a_id); } $this->tpl =& $tpl; $this->lng =& $lng; }
ilAICCObjectGUI::$lng |
Definition at line 42 of file class.ilAICCObjectGUI.php.
Referenced by ilAICCObjectGUI().
ilAICCObjectGUI::$sc_object |
Definition at line 40 of file class.ilAICCObjectGUI.php.
ilAICCObjectGUI::$tpl |
Definition at line 41 of file class.ilAICCObjectGUI.php.
Referenced by ilAICCObjectGUI().