GUI class for AICC Unit element.
More...
GUI class for AICC Unit element.
- Version
- $Id$
Definition at line 34 of file class.ilAICCUnitGUI.php.
◆ __construct()
ilAICCUnitGUI::__construct |
( |
|
$a_id | ) |
|
◆ view()
Definition at line 44 of file class.ilAICCUnitGUI.php.
References $files, and ilAICCObjectGUI\displayParameter().
46 $this->tpl =
new ilTemplate(
"tpl.main.html",
true,
true);
47 $this->tpl->addBlockFile(
"CONTENT",
"content",
"tpl.aicc_obj.html",
"Modules/ScormAicc");
49 $this->sc_object->getImportId());
51 $this->sc_object->getResourceType());
53 $this->sc_object->getScormType());
55 $this->sc_object->getHref());
57 $this->sc_object->getXmlBase());
58 $this->tpl->setCurrentBlock(
"partable");
59 $this->tpl->setVariable(
"TXT_OBJECT_TYPE", $this->lng->txt(
"cont_resource"));
60 $this->tpl->parseCurrentBlock();
63 $files =& $this->sc_object->getFiles();
64 for ($i=0; $i<count(
$files); $i++)
69 $this->tpl->setCurrentBlock(
"partable");
70 $this->tpl->setVariable(
"TXT_OBJECT_TYPE", $this->lng->txt(
"cont_files"));
71 $this->tpl->parseCurrentBlock();
74 $deps =& $this->sc_object->getDependencies();
75 for ($i=0; $i<count($deps); $i++)
78 $deps[$i]->getIdentifierRef());
80 $this->tpl->setCurrentBlock(
"partable");
81 $this->tpl->setVariable(
"TXT_OBJECT_TYPE", $this->lng->txt(
"cont_dependencies"));
82 $this->tpl->parseCurrentBlock();
special template class to simplify handling of ITX/PEAR
displayParameter($a_name, $a_value)
The documentation for this class was generated from the following file: