ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
Permanent.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
use
ILIAS\Data\URI
;
25
29
class
Permanent
extends
AbstractBaseItem
implements
hasAction
,
hasTitle
30
{
31
use
hasTitleTrait
;
32
use
hasActionTrait
;
33
34
public
function
__construct
(
35
IdentificationInterface
$provider_identification,
36
string
$title,
37
private
URI
$uri
38
) {
39
parent::__construct
($provider_identification);
40
$this->title = $title;
41
}
42
43
public
function
getURI
():
URI
44
{
45
return
$this->uri;
46
}
47
48
public
function
withPermanentLink
(
URI
$link): self
49
{
50
$clone = clone $this;
51
$clone->uri = $link;
52
return
$clone;
53
}
54
55
public
function
isTop
(): bool
56
{
57
return
false
;
58
}
59
60
}
ILIAS\GlobalScreen\Scope\Footer\Factory\Permanent\withPermanentLink
withPermanentLink(URI $link)
Definition:
Permanent.php:48
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\Permanent
Definition:
Permanent.php:29
ILIAS\GlobalScreen\Scope\Footer\Factory\hasActionTrait
trait hasActionTrait
Definition:
hasActionTrait.php:30
IdentificationInterface
ILIAS\GlobalScreen\Scope\Footer\Factory\AbstractBaseItem
Definition:
AbstractBaseItem.php:30
ILIAS\GlobalScreen\Scope\Footer\Factory\hasTitle
Definition:
hasTitle.php:26
ILIAS\GlobalScreen\Scope\Footer\Factory\Permanent\__construct
__construct(IdentificationInterface $provider_identification, string $title, private URI $uri)
Definition:
Permanent.php:34
ILIAS\Data\URI
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\Permanent\getURI
getURI()
Definition:
Permanent.php:43
ILIAS\GlobalScreen\Scope\Footer\Factory\Permanent\isTop
isTop()
Definition:
Permanent.php:55
components
ILIAS
GlobalScreen
src
Scope
Footer
Factory
Permanent.php
Generated on Sun Aug 31 2025 23:03:02 for ILIAS by
1.8.13 (using
Doxyfile
)