ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilSCORMManifestGUI.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
29{
30 public function __construct(int $a_id)
31 {
33 $this->sc_object = new ilSCORMManifest($a_id);
34 }
35
36 public function view(): void
37 {
38 $this->tpl->addBlockFile("CONTENT", "content", "tpl.scorm_obj.html", "components/ILIAS/ScormAicc");
39 $this->displayParameter(
40 $this->lng->txt("cont_import_id"),
41 $this->sc_object->getImportId()
42 );
43 $this->displayParameter(
44 $this->lng->txt("cont_version"),
45 $this->sc_object->getVersion()
46 );
47 $this->displayParameter(
48 $this->lng->txt("cont_xml_base"),
49 $this->sc_object->getXmlBase()
50 );
51 $this->tpl->setCurrentBlock("par_table");
52 $this->tpl->setVariable("TXT_OBJECT_TYPE", $this->lng->txt("cont_manifest"));
53 $this->tpl->parseCurrentBlock();
54 }
55}
Parent object for SCORM GUI objects.
displayParameter(string $a_name, string $a_value)
GUI class for SCORM Manifest element.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc