Inheritance diagram for ilSCORMObjectGUI:Public Member Functions | |
| ilSCORMObjectGUI ($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 41 of file class.ilSCORMObjectGUI.php.
| ilSCORMObjectGUI::displayParameter | ( | $ | a_name, | |
| $ | a_value | |||
| ) |
Definition at line 103 of file class.ilSCORMObjectGUI.php.
Referenced by ilSCORMResourcesGUI::view(), ilSCORMResourceGUI::view(), ilSCORMOrganizationsGUI::view(), ilSCORMOrganizationGUI::view(), ilSCORMmanifestGUI::view(), and ilSCORMItemGUI::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:| & ilSCORMObjectGUI::getInstance | ( | $ | a_id | ) |
get instance of specialized GUI class
static
Definition at line 65 of file class.ilSCORMObjectGUI.php.
Referenced by ilSCORMPresentationGUI::view().
{
$object = new ilSCORMObject($a_id);
switch($object->getType())
{
case "sit": // item
$item =& new ilSCORMItemGUI($a_id);
return $item;
break;
case "sos": // organizations
$sos_gui =& new ilSCORMOrganizationsGUI($a_id);
return $sos_gui;
break;
case "sor": // organization
$sor_gui =& new ilSCORMOrganizationGUI($a_id);
return $sor_gui;
break;
case "sma": // manifest
$sma_gui =& new ilSCORMManifestGUI($a_id);
return $sma_gui;
break;
case "srs": // resources
$srs_gui =& new ilSCORMResourcesGUI($a_id);
return $srs_gui;
break;
case "sre": // resource
$sre_gui =& new ilSCORMResourceGUI($a_id);
return $sre_gui;
break;
}
}
Here is the caller graph for this function:| ilSCORMObjectGUI::ilSCORMObjectGUI | ( | $ | a_id = 0 |
) |
Definition at line 48 of file class.ilSCORMObjectGUI.php.
Referenced by ilSCORMItemGUI::ilSCORMItemGUI(), ilSCORMmanifestGUI::ilSCORMManifestGUI(), ilSCORMOrganizationGUI::ilSCORMOrganizationGUI(), ilSCORMOrganizationsGUI::ilSCORMOrganizationsGUI(), ilSCORMResourceGUI::ilSCORMResourceGUI(), and ilSCORMResourcesGUI::ilSCORMResourcesGUI().
{
global $tpl, $lng;
if($a_id != 0)
{
$this->sc_object =& new ilSCORMItem($a_id);
}
$this->tpl =& $tpl;
$this->lng =& $lng;
}
Here is the caller graph for this function:| ilSCORMObjectGUI::$lng |
Definition at line 45 of file class.ilSCORMObjectGUI.php.
Referenced by ilSCORMObjectGUI().
| ilSCORMObjectGUI::$sc_object |
Definition at line 43 of file class.ilSCORMObjectGUI.php.
| ilSCORMObjectGUI::$tpl |
Definition at line 44 of file class.ilSCORMObjectGUI.php.
Referenced by ilSCORMObjectGUI().
1.7.1