45 {
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();
61
62
63 $files =& $this->sc_object->getFiles();
64 for ($i=0; $i<count($files); $i++)
65 {
67 $files[$i]->getHRef());
68 }
69 $this->tpl->setCurrentBlock("partable");
70 $this->tpl->setVariable("TXT_OBJECT_TYPE", $this->lng->txt("cont_files"));
71 $this->tpl->parseCurrentBlock();
72
73
74 $deps =& $this->sc_object->getDependencies();
75 for ($i=0; $i<count($deps); $i++)
76 {
78 $deps[$i]->getIdentifierRef());
79 }
80 $this->tpl->setCurrentBlock("partable");
81 $this->tpl->setVariable("TXT_OBJECT_TYPE", $this->lng->txt("cont_dependencies"));
82 $this->tpl->parseCurrentBlock();
83 }
displayParameter($a_name, $a_value)
special template class to simplify handling of ITX/PEAR