ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilSCORMOrganizationsGUI.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 ilSCORMOrganizations($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->tpl->setCurrentBlock("par_table");
40 $this->tpl->setVariable("TXT_OBJECT_TYPE", $this->lng->txt("cont_organizations"));
41 $this->displayParameter(
42 $this->lng->txt("cont_def_organization"),
43 $this->sc_object->getDefaultOrganization()
44 );
45 $this->tpl->parseCurrentBlock();
46 }
47}
Parent object for SCORM GUI objects.
displayParameter(string $a_name, string $a_value)
GUI class for SCORM Organizations element.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc