ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
Modal.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\Footer\Factory
;
22
23
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
24
28
class
Modal
extends
AbstractBaseItem
implements
canHaveParent
29
{
30
use
hasTitleTrait
;
31
use
canHaveParentTrait
;
32
33
public
function
__construct
(
34
IdentificationInterface
$provider_identification,
35
string
$title,
36
protected
\
ILIAS
\
UI
\
Component
\
Modal
\
Modal
$modal
37
) {
38
parent::__construct
($provider_identification);
39
$this->title = $title;
40
}
41
42
public
function
getModal
(): \
ILIAS
\
UI
\
Component
\
Modal
\
Modal
43
{
44
return
$this->modal;
45
}
46
47
public
function
withModal
(\
ILIAS
\
UI
\
Component
\
Modal
\
Modal
$modal): self
48
{
49
$clone = clone $this;
50
$clone->modal = $modal;
51
return
$clone;
52
}
53
54
public
function
isTop
(): bool
55
{
56
return
!$this->
hasParent
();
57
}
58
59
}
ILIAS\GlobalScreen\Scope\Footer\Factory\Modal\getModal
getModal()
Definition:
Modal.php:42
ILIAS\GlobalScreen\Scope\Footer\Factory\Modal\withModal
withModal(\ILIAS\UI\Component\Modal\Modal $modal)
Definition:
Modal.php:47
ILIAS\GlobalScreen\Scope\Footer\Factory\Modal
Definition:
Modal.php:28
ILIAS
Interface Observer Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:29
ILIAS\GlobalScreen\Scope\Footer\Factory\hasTitleTrait
trait hasTitleTrait
Definition:
hasTitleTrait.php:27
Factory
ILIAS\UI\Component
ILIAS\GlobalScreen\Scope\Footer\Factory\canHaveParent
Definition:
canHaveParent.php:28
ILIAS\GlobalScreen\Scope\Footer\Factory\Modal\isTop
isTop()
Definition:
Modal.php:54
IdentificationInterface
ILIAS\GlobalScreen\Scope\Footer\Factory\Modal\__construct
__construct(IdentificationInterface $provider_identification, string $title, protected \ILIAS\UI\Component\Modal\Modal $modal)
Definition:
Modal.php:33
ILIAS\GlobalScreen\Scope\Footer\Factory\AbstractBaseItem
Definition:
AbstractBaseItem.php:30
ILIAS\GlobalScreen\Scope\Footer\Factory\canHaveParent\hasParent
hasParent()
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ILIAS\GlobalScreen\Scope\Footer\Factory
Definition:
AbstractBaseItem.php:21
ILIAS\GlobalScreen\Scope\Footer\Factory\canHaveParentTrait
trait canHaveParentTrait
Definition:
canHaveParentTrait.php:29
components
ILIAS
GlobalScreen
src
Scope
Footer
Factory
Modal.php
Generated on Sun Aug 31 2025 23:02:18 for ILIAS by
1.8.13 (using
Doxyfile
)