24require_once(
"./Modules/ScormAicc/classes/SCORM/class.ilSCORMObjectGUI.php");
 
   25require_once(
"./Modules/ScormAicc/classes/SCORM/class.ilSCORMResource.php");
 
   39        parent::__construct();
 
   41        $files = &$this->sc_object->getFiles();
 
   46        $this->tpl = 
new ilTemplate(
"tpl.main.html", 
true, 
true);
 
   47        $this->tpl->addBlockFile(
"CONTENT", 
"content", 
"tpl.scorm_obj.html", 
"Modules/ScormAicc");
 
   49            $this->lng->txt(
"cont_import_id"),
 
   50            $this->sc_object->getImportId()
 
   53            $this->lng->txt(
"cont_resource_type"),
 
   54            $this->sc_object->getResourceType()
 
   57            $this->lng->txt(
"cont_scorm_type"),
 
   58            $this->sc_object->getScormType()
 
   61            $this->lng->txt(
"cont_href"),
 
   62            $this->sc_object->getHref()
 
   65            $this->lng->txt(
"cont_xml_base"),
 
   66            $this->sc_object->getXmlBase()
 
   68        $this->tpl->setCurrentBlock(
"partable");
 
   69        $this->tpl->setVariable(
"TXT_OBJECT_TYPE", $this->lng->txt(
"cont_resource"));
 
   70        $this->tpl->parseCurrentBlock();
 
   73        $files = &$this->sc_object->getFiles();
 
   76                $this->lng->txt(
"cont_href"),
 
   80        $this->tpl->setCurrentBlock(
"partable");
 
   81        $this->tpl->setVariable(
"TXT_OBJECT_TYPE", $this->lng->txt(
"cont_files"));
 
   82        $this->tpl->parseCurrentBlock();
 
   85        $deps = &$this->sc_object->getDependencies();
 
   86        for (
$i = 0; 
$i < count($deps); 
$i++) {
 
   88                $this->lng->txt(
"cont_id_ref"),
 
   89                $deps[
$i]->getIdentifierRef()
 
   92        $this->tpl->setCurrentBlock(
"partable");
 
   93        $this->tpl->setVariable(
"TXT_OBJECT_TYPE", $this->lng->txt(
"cont_dependencies"));
 
   94        $this->tpl->parseCurrentBlock();
 
An exception for terminatinating execution or to throw for unit testing.
Parent object for SCORM GUI objects.
displayParameter($a_name, $a_value)
GUI class for SCORM Resource element.
special template class to simplify handling of ITX/PEAR