ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilMMItemFacade.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\GlobalScreen\Scope\MainMenu\Collector\MainMenuMainCollector
as Main;
22
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Lost
;
23
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
24
30
class
ilMMItemFacade
extends
ilMMAbstractItemFacade
implements
ilMMItemFacadeInterface
31
{
35
public
function
__construct
(
IdentificationInterface
$identification, Main $collector)
36
{
37
parent::__construct
($identification, $collector);
38
}
39
40
44
protected
$type
;
45
46
50
public
function
isCustom
(): bool
51
{
52
return
false
;
53
}
54
55
59
public
function
isEditable
(): bool
60
{
61
return
(!$this->raw_item instanceof
Lost
);
62
}
63
64
68
public
function
isDeletable
(): bool
69
{
70
return
($this->raw_item instanceof
Lost
);
71
}
72
73
74
75
76
// Setter
77
78
82
public
function
setType
(
string
$type
): void
83
{
84
$this->type =
$type
;
85
}
86
87
91
public
function
setAction
(
string
$action): void
92
{
93
// Setting action not possible for non custom items
94
}
95
}
ILIAS\GlobalScreen\Scope\MainMenu\Collector\MainMenuMainCollector
Class MainMenuMainCollector This Collector will collect and then provide all available slates from th...
Definition:
MainMenuMainCollector.php:56
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Lost
Definition:
Lost.php:50
ilMMAbstractItemFacade
Class ilMMAbstractItemFacade.
Definition:
class.ilMMAbstractItemFacade.php:47
ilMMItemFacade
Class ilMMItemFacade.
Definition:
class.ilMMItemFacade.php:31
ilMMItemFacade\isEditable
isEditable()
@inheritDoc
Definition:
class.ilMMItemFacade.php:59
ilMMItemFacade\setAction
setAction(string $action)
@inheritDoc
Definition:
class.ilMMItemFacade.php:91
ilMMItemFacade\__construct
__construct(IdentificationInterface $identification, Main $collector)
@inheritDoc
Definition:
class.ilMMItemFacade.php:35
ilMMItemFacade\isDeletable
isDeletable()
@inheritDoc
Definition:
class.ilMMItemFacade.php:68
ilMMItemFacade\isCustom
isCustom()
Definition:
class.ilMMItemFacade.php:50
ilMMItemFacade\$type
$type
Definition:
class.ilMMItemFacade.php:44
ilMMItemFacade\setType
setType(string $type)
@inheritDoc
Definition:
class.ilMMItemFacade.php:82
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:30
ilMMItemFacadeInterface
Interface ilMMItemFacadeInterface.
Definition:
interface.ilMMItemFacadeInterface.php:31
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Definition:
PluginProviderHelper.php:38
components
ILIAS
MainMenu
classes
Items
Facade
class.ilMMItemFacade.php
Generated on Sat Oct 18 2025 23:03:24 for ILIAS by
1.9.4 (using
Doxyfile
)