Class ilMMAbstractItemGUI.
More...
◆ __construct()
ilMMAbstractItemGUI constructor.
- Parameters
-
- Exceptions
-
Definition at line 67 of file class.ilMMAbstractItemGUI.php.
References $DIC, $tab_handling, ILIAS\FileDelivery\http(), repository(), and ui().
73 $this->tabs = $DIC[
'ilTabs'];
74 $this->lng = $DIC->language();
75 $this->ctrl = $DIC[
'ilCtrl'];
76 $this->tpl = $DIC[
'tpl'];
77 $this->tree = $DIC[
'tree'];
78 $this->toolbar = $DIC[
'ilToolbar'];
79 $this->
http = $DIC->http();
80 $this->
ui = $DIC->ui();
83 $this->lng->loadLanguageModule(
'form');
Class ilMMItemRepository.
static http()
Fetches the global http state from ILIAS.
◆ determineCommand()
ilMMAbstractItemGUI::determineCommand |
( |
string |
$standard, |
|
|
string |
$delete |
|
) |
| |
|
protected |
◆ getMMItemFromRequest()
ilMMAbstractItemGUI::getMMItemFromRequest |
( |
| ) |
|
|
protected |
- Returns
- ilMMItemFacadeInterface
- Exceptions
-
Definition at line 119 of file class.ilMMAbstractItemGUI.php.
References ILIAS\FileDelivery\http(), and repository().
Referenced by ilMMSubItemGUI\confirmDelete(), ilMMTopItemGUI\confirmDelete(), ilMMSubItemGUI\confirmMove(), ilMMSubItemGUI\delete(), ilMMTopItemGUI\delete(), ilMMSubItemGUI\edit(), ilMMTopItemGUI\edit(), ilMMSubItemGUI\executeCommand(), ilMMTopItemGUI\executeCommand(), ilMMSubItemGUI\move(), ilMMTopItemGUI\move(), ilMMSubItemGUI\update(), and ilMMTopItemGUI\update().
121 $r = $this->
http->request();
122 $get = $r->getQueryParams();
123 $post = $r->getParsedBody();
125 if (isset($post[
'interruptive_items'])) {
126 $string = $post[
'interruptive_items'][0];
127 $identification = $this->unhash($string);
129 $identification = $this->unhash($get[self::IDENTIFIER]);
132 return $this->
repository->getItemFacadeForIdentificationString($identification);
static http()
Fetches the global http state from ILIAS.
Interface ilMMItemFacadeInterface.
◆ $access
ilMMAbstractItemGUI::$access |
|
protected |
◆ $ctrl
ilMMAbstractItemGUI::$ctrl |
|
protected |
◆ $http
ilMMAbstractItemGUI::$http |
|
protected |
◆ $lng
ilMMAbstractItemGUI::$lng |
◆ $repository
ilMMAbstractItemGUI::$repository |
|
protected |
◆ $tab_handling
ilMMAbstractItemGUI::$tab_handling |
|
protected |
◆ $tabs
ilMMAbstractItemGUI::$tabs |
|
protected |
◆ $toolbar
ilMMAbstractItemGUI::$toolbar |
|
protected |
◆ $tpl
ilMMAbstractItemGUI::$tpl |
◆ $tree
ilMMAbstractItemGUI::$tree |
◆ $ui
◆ IDENTIFIER
const ilMMAbstractItemGUI::IDENTIFIER = 'identifier' |
The documentation for this class was generated from the following file: