ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
interface.ilMMItemFacadeInterface.php
Go to the documentation of this file.
1<?php
2
9{
10
11 //
12 // Access to related objects
13 //
17 public function itemStorage() : ilMMItemStorage;
18
19
23 public function item() : \ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem;
24
25
29 public function identification() : \ILIAS\GlobalScreen\Identification\IdentificationInterface;
30
31
32 //
33 // Presentation Methods
34 //
35
39 public function getTypeForPresentation() : string;
40
41
45 public function getProviderNameForPresentation() : string;
46
47
51 public function getStatus() : string;
52
53
54 //
55 // Getters
56 //
60 public function isAvailable() : bool;
61
62
66 public function isActivated() : bool;
67
68
72 public function isEditable() : bool;
73
74
78 public function isDeletable() : bool;
79
80
84 public function isAlwaysAvailable() : bool;
85
86
90 public function getDefaultTitle() : string;
91
92
96 public function getId() : string;
97
98
102 public function getAmountOfChildren() : int;
103
104
108 public function hasStorage() : bool;
109
110
114 public function isEmpty() : bool;
115
116
120 public function isCustom() : bool;
121
122
126 public function isCustomType() : bool;
127
128
132 public function getParentIdentificationString() : string;
133
134
138 public function getType() : string;
139
140
144 public function isTopItem() : bool;
145
146
150 public function isInLostItem() : bool;
151
152
153 //
154 // Setters
155 //
159 public function setAction(string $action);
160
161
165 public function setActiveStatus(bool $status);
166
167
171 public function setDefaultTitle(string $default_title);
172
173
177 public function setPosition(int $position);
178
179
183 public function setParent(string $parent);
184
185
189 public function setType(string $type);
190
191
195 public function setIsTopItm(bool $top_item);
196
197 //
198 // CRUD
199 //
203 public function update();
204
205
209 public function create();
210
211
215 public function delete();
216}
An exception for terminatinating execution or to throw for unit testing.
Class ilMMItemStorage.
$action
Interface ilMMItemFacadeInterface.
setIsTopItm(bool $top_item)
setAction(string $action)
setDefaultTitle(string $default_title)
setPosition(int $position)
setType(string $type)
setActiveStatus(bool $status)
setParent(string $parent)
Class BaseForm.
$type