ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
AbstractChildItem.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\GlobalScreen\Scope\MetaBar\Factory
;
2
3
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
4
10
abstract
class
AbstractChildItem
extends
AbstractBaseItem
implements
isItem
,
isChild
11
{
12
16
protected
$parent
;
17
18
22
public
function
withParent
(
IdentificationInterface
$identification) :
isItem
23
{
24
$clone = clone $this;
25
$clone->parent = $identification;
26
27
return
$clone;
28
}
29
30
34
public
function
hasParent
() : bool
35
{
36
return
($this->parent instanceof
IdentificationInterface
);
37
}
38
39
43
public
function
getParent
() :
IdentificationInterface
44
{
45
return
$this->parent
;
46
}
47
48
52
public
function
overrideParent
(
IdentificationInterface
$identification) :
isChild
53
{
54
$this->parent = $identification;
55
56
return
$this;
57
}
58
}
ILIAS\GlobalScreen\Scope\MetaBar\Factory\AbstractChildItem\overrideParent
overrideParent(IdentificationInterface $identification)
Definition:
AbstractChildItem.php:52
ILIAS\GlobalScreen\Scope\MetaBar\Factory\AbstractBaseItem
Class AbstractBaseItem.
Definition:
AbstractBaseItem.php:13
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:8
ILIAS\GlobalScreen\Scope\MetaBar\Factory\AbstractChildItem\getParent
getParent()
Definition:
AbstractChildItem.php:43
ILIAS\GlobalScreen\Scope\MetaBar\Factory
Definition:
AbstractBaseItem.php:1
ILIAS\GlobalScreen\Scope\MetaBar\Factory\AbstractChildItem\withParent
withParent(IdentificationInterface $identification)
Definition:
AbstractChildItem.php:22
ILIAS\GlobalScreen\Scope\MetaBar\Factory\isChild
Interface isChild.
Definition:
isChild.php:10
ILIAS\GlobalScreen\Scope\MetaBar\Factory\AbstractChildItem\$parent
$parent
Definition:
AbstractChildItem.php:16
IdentificationInterface
ILIAS\GlobalScreen\Scope\MetaBar\Factory\AbstractChildItem\hasParent
hasParent()
Definition:
AbstractChildItem.php:34
ILIAS\GlobalScreen\Scope\MetaBar\Factory\isItem
Class isItem.
Definition:
isItem.php:11
ILIAS\GlobalScreen\Scope\MetaBar\Factory\AbstractChildItem
Class AbstractChildItem.
Definition:
AbstractChildItem.php:10
src
GlobalScreen
Scope
MetaBar
Factory
AbstractChildItem.php
Generated on Tue Sep 2 2025 20:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)