◆ __construct()
ilLicenseOverviewGUI::__construct |
( |
ilObjectGUI |
$a_parent_gui, |
|
|
|
$a_mode = self::LIC_MODE_REPOSITORY |
|
) |
| |
◆ executeCommand()
ilLicenseOverviewGUI::executeCommand |
( |
| ) |
|
- Returns
- bool
Definition at line 59 of file class.ilLicenseOverviewGUI.php.
References $cmd, and $ilErr.
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");
◆ showLicenses()
ilLicenseOverviewGUI::showLicenses |
( |
| ) |
|
|
protected |
Definition at line 74 of file class.ilLicenseOverviewGUI.php.
References $tbl, ilPanelGUI\getInstance(), and ilPanelGUI\PANEL_STYLE_SECONDARY.
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());
static getInstance()
Get instance.
const PANEL_STYLE_SECONDARY
◆ $ctrl
ilLicenseOverviewGUI::$ctrl |
|
protected |
◆ $lng
ilLicenseOverviewGUI::$lng |
|
protected |
◆ $mode
ilLicenseOverviewGUI::$mode |
|
protected |
◆ $tpl
ilLicenseOverviewGUI::$tpl |
|
protected |
◆ LIC_MODE_ADMINISTRATION
const ilLicenseOverviewGUI::LIC_MODE_ADMINISTRATION = 1 |
◆ LIC_MODE_REPOSITORY
const ilLicenseOverviewGUI::LIC_MODE_REPOSITORY = 2 |
The documentation for this class was generated from the following file: