ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilMMItemFacade.php
Go to the documentation of this file.
1
<?
php
2
3
use
ILIAS\GlobalScreen\Scope\MainMenu\Collector\MainMenuMainCollector
as
Main
;
4
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Lost
;
5
11
class
ilMMItemFacade
extends
ilMMAbstractItemFacade
implements
ilMMItemFacadeInterface
12
{
13
17
public
function
__construct
(\
ILIAS
\GlobalScreen\Identification\IdentificationInterface
$identification
,
Main
$collector)
18
{
19
parent::__construct($identification, $collector);
20
}
21
22
26
protected
$type
;
27
28
32
public
function
isCustom
() : bool
33
{
34
return
false
;
35
}
36
37
41
public
function
isEditable
() : bool
42
{
43
return
(!$this->gs_item instanceof
Lost
);
44
}
45
46
50
public
function
isDeletable
() : bool
51
{
52
return
($this->gs_item instanceof
Lost
);
53
}
54
55
56
57
58
// Setter
59
60
64
public
function
setType
(
string
$type
)
65
{
66
$this->type =
$type
;
67
}
68
69
73
public
function
setAction
(
string
$action
)
74
{
75
// Setting action not possible for non custom items
76
return
;
77
}
78
}
ilMMAbstractItemFacade
Class ilMMAbstractItemFacade.
Definition:
class.ilMMAbstractItemFacade.php:22
ilMMItemFacade\setType
setType(string $type)
Definition:
class.ilMMItemFacade.php:64
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Lost
Class Lost.
Definition:
Lost.php:21
$action
$action
Definition:
consentAdmin.php:140
ilMMItemFacade\isCustom
isCustom()
Definition:
class.ilMMItemFacade.php:32
ILIAS
Class BaseForm.
MainMenuMainCollector
Lost
ilMMItemFacade
Class ilMMItemFacade.
Definition:
class.ilMMItemFacade.php:11
ilMMItemFacade\__construct
__construct(\ILIAS\GlobalScreen\Identification\IdentificationInterface $identification, Main $collector)
Definition:
class.ilMMItemFacade.php:17
ilMMAbstractItemFacade\$identification
$identification
Definition:
class.ilMMAbstractItemFacade.php:40
ilMMItemFacade\isEditable
isEditable()
Definition:
class.ilMMItemFacade.php:41
ilMMItemFacade\setAction
setAction(string $action)
Definition:
class.ilMMItemFacade.php:73
ilMMItemFacade\isDeletable
isDeletable()
Definition:
class.ilMMItemFacade.php:50
php
ilMMItemFacadeInterface
Interface ilMMItemFacadeInterface.
Definition:
interface.ilMMItemFacadeInterface.php:8
ilMMItemFacade\$type
$type
Definition:
class.ilMMItemFacade.php:26
Services
MainMenu
classes
Items
Facade
class.ilMMItemFacade.php
Generated on Sun Aug 31 2025 19:01:54 for ILIAS by
1.8.13 (using
Doxyfile
)