Inheritance diagram for ilAICCObjectGUI: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();
}
Here is the caller graph for this function:| & 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;
}
}
Here is the caller graph for this function:| 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;
}
Here is the caller graph for this function:| 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().
1.7.1