4require_once 
"./Services/License/classes/class.ilLicense.php";
 
   47                $this->mode = $a_mode;
 
   51                $this->lng->loadLanguageModule(
"license");
 
   52                $this->parent_gui = $a_parent_gui;
 
   60                global $rbacsystem, 
$ilErr;
 
   63                if (!$rbacsystem->checkAccess(
"read", $this->parent_gui->object->getRefId())) {
 
   64                        $ilErr->raiseError($this->lng->txt(
"permission_denied"), 
$ilErr->MESSAGE);
 
   67                $cmd = $this->ctrl->getCmd(
"showLicenses");
 
   75                include_once 
'./Services/License/classes/class.ilLicenseOverviewTableGUI.php';
 
   78                include_once 
"Services/UIComponent/Panel/classes/class.ilPanelGUI.php";
 
   81                $panel->setBody(
'<div class="small">' . $this->lng->txt(
"used_licenses_explanation") . 
"<br/>" 
   82                                . $this->lng->txt(
"remaining_licenses_explanation") . 
"<br/>" . $this->lng->txt(
"potential_accesses_explanation") . 
"</div>");
 
   84                $this->tpl->setContent(
$tbl->getHTML() . 
"<br />" . $panel->getHTML());
 
An exception for terminatinating execution or to throw for unit testing.
const LIC_MODE_REPOSITORY
const LIC_MODE_ADMINISTRATION
__construct(ilObjectGUI $a_parent_gui, $a_mode=self::LIC_MODE_REPOSITORY)
ilLicenseOverviewGUI constructor.
Class ilObjectGUI Basic methods of all Output classes.
const PANEL_STYLE_SECONDARY
static getInstance()
Get instance.