ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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 Wed Apr 9 2025 20:01:38 for ILIAS by
1.8.13 (using
Doxyfile
)