ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
Link.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
Link
extends
AbstractBaseItem
implements
canHaveParent
,
hasAction
29
{
30
use
hasTitleTrait
;
31
use
hasActionTrait
;
32
use
canHaveParentTrait
;
33
34
public
function
__construct
(
35
IdentificationInterface
$provider_identification,
36
string
$title
37
) {
38
parent::__construct
($provider_identification);
39
$this->title = $title;
40
}
41
42
public
function
isTop
(): bool
43
{
44
return
!$this->
hasParent
();
45
}
46
47
}
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:29
ILIAS\GlobalScreen\Scope\Footer\Factory\hasTitleTrait
trait hasTitleTrait
Definition:
hasTitleTrait.php:27
ILIAS\GlobalScreen\Scope\Footer\Factory\hasAction
Definition:
hasAction.php:29
ILIAS\GlobalScreen\Scope\Footer\Factory\canHaveParent
Definition:
canHaveParent.php:28
ILIAS\GlobalScreen\Scope\Footer\Factory\hasActionTrait
trait hasActionTrait
Definition:
hasActionTrait.php:30
Standard
IdentificationInterface
ILIAS\GlobalScreen\Scope\Footer\Factory\Link\__construct
__construct(IdentificationInterface $provider_identification, string $title)
Definition:
Link.php:34
ILIAS\GlobalScreen\Scope\Footer\Factory\AbstractBaseItem
Definition:
AbstractBaseItem.php:30
ILIAS\GlobalScreen\Scope\Footer\Factory\canHaveParent\hasParent
hasParent()
ILIAS\GlobalScreen\Scope\Footer\Factory\Link\isTop
isTop()
Definition:
Link.php:42
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
Link.php
Generated on Sun Aug 31 2025 23:02:45 for ILIAS by
1.8.13 (using
Doxyfile
)