GUI class for SCORM Resource element.
More...
GUI class for SCORM Resource element.
- Author
- Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
- Version
- $Id$
Definition at line 35 of file class.ilSCORMResourceGUI.php.
◆ __construct()
ilSCORMResourceGUI::__construct |
( |
|
$a_id | ) |
|
◆ view()
ilSCORMResourceGUI::view |
( |
| ) |
|
Definition at line 45 of file class.ilSCORMResourceGUI.php.
References $files, and ilSCORMObjectGUI\displayParameter().
47 $this->tpl =
new ilTemplate(
"tpl.main.html",
true,
true);
48 $this->tpl->addBlockFile(
"CONTENT",
"content",
"tpl.scorm_obj.html",
"Modules/ScormAicc");
50 $this->sc_object->getImportId());
52 $this->sc_object->getResourceType());
54 $this->sc_object->getScormType());
56 $this->sc_object->getHref());
58 $this->sc_object->getXmlBase());
59 $this->tpl->setCurrentBlock(
"partable");
60 $this->tpl->setVariable(
"TXT_OBJECT_TYPE", $this->lng->txt(
"cont_resource"));
61 $this->tpl->parseCurrentBlock();
64 $files =& $this->sc_object->getFiles();
65 for ($i=0; $i<count(
$files); $i++)
70 $this->tpl->setCurrentBlock(
"partable");
71 $this->tpl->setVariable(
"TXT_OBJECT_TYPE", $this->lng->txt(
"cont_files"));
72 $this->tpl->parseCurrentBlock();
75 $deps =& $this->sc_object->getDependencies();
76 for ($i=0; $i<count($deps); $i++)
79 $deps[$i]->getIdentifierRef());
81 $this->tpl->setCurrentBlock(
"partable");
82 $this->tpl->setVariable(
"TXT_OBJECT_TYPE", $this->lng->txt(
"cont_dependencies"));
83 $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: