ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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->raw_item instanceof
Lost
);
44
}
45
46
50
public
function
isDeletable
() : bool
51
{
52
return
($this->raw_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
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\GlobalScreen\Scope\MainMenu\Collector\MainMenuMainCollector
Class MainMenuMainCollector This Collector will collect and then provide all available slates from th...
Definition:
MainMenuMainCollector.php:33
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Lost
Class Lost.
Definition:
Lost.php:24
ilMMAbstractItemFacade
Class ilMMAbstractItemFacade.
Definition:
class.ilMMAbstractItemFacade.php:25
ilMMAbstractItemFacade\$identification
$identification
Definition:
class.ilMMAbstractItemFacade.php:53
ilMMItemFacade
Class ilMMItemFacade.
Definition:
class.ilMMItemFacade.php:12
ilMMItemFacade\isEditable
isEditable()
@inheritDoc
Definition:
class.ilMMItemFacade.php:41
ilMMItemFacade\setAction
setAction(string $action)
@inheritDoc
Definition:
class.ilMMItemFacade.php:73
ilMMItemFacade\isDeletable
isDeletable()
@inheritDoc
Definition:
class.ilMMItemFacade.php:50
ilMMItemFacade\isCustom
isCustom()
Definition:
class.ilMMItemFacade.php:32
ilMMItemFacade\$type
$type
Definition:
class.ilMMItemFacade.php:26
ilMMItemFacade\setType
setType(string $type)
@inheritDoc
Definition:
class.ilMMItemFacade.php:64
ilMMItemFacade\__construct
__construct(\ILIAS\GlobalScreen\Identification\IdentificationInterface $identification, Main $collector)
@inheritDoc
Definition:
class.ilMMItemFacade.php:17
ilMMItemFacadeInterface
Interface ilMMItemFacadeInterface.
Definition:
interface.ilMMItemFacadeInterface.php:8
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Definition:
PluginProviderHelper.php:30
ILIAS
Class ChatMainBarProvider \MainMenu\Provider.
Services
MainMenu
classes
Items
Facade
class.ilMMItemFacade.php
Generated on Sat Oct 4 2025 20:01:02 for ILIAS by
1.9.4 (using
Doxyfile
)