ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
AbstractBaseItem.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\GlobalScreen\Scope\ComponentDecoratorTrait
;
25
use
ILIAS\GlobalScreen\Scope\VisibilityAvailabilityTrait
;
26
30
abstract
class
AbstractBaseItem
implements
isItem
31
{
32
use
ComponentDecoratorTrait
;
33
use
VisibilityAvailabilityTrait
;
34
35
private
int
$position
= 0;
36
37
public
function
__construct
(
private
IdentificationInterface
$provider_identification)
38
{
39
}
40
41
public
function
getPosition
():
int
42
{
43
return
$this->position
;
44
}
45
46
public
function
withPosition
(
int
$position):
isItem
47
{
48
$clone = clone $this;
49
$clone->position =
$position
;
50
return
$clone;
51
}
52
53
public
function
getProviderIdentification
():
IdentificationInterface
54
{
55
return
$this->provider_identification;
56
}
57
58
}
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:29
ILIAS\GlobalScreen\Scope\Footer\Factory\isItem
Definition:
isItem.php:28
ILIAS\GlobalScreen\Scope\Footer\Factory\AbstractBaseItem\__construct
__construct(private IdentificationInterface $provider_identification)
Definition:
AbstractBaseItem.php:37
ILIAS\GlobalScreen\Scope\Footer\Factory\AbstractBaseItem\getPosition
getPosition()
Return the default position for installation, this will be overridden by the configuration later...
Definition:
AbstractBaseItem.php:41
ILIAS\GlobalScreen\Scope\Footer\Factory\AbstractBaseItem\$position
int $position
Definition:
AbstractBaseItem.php:35
IdentificationInterface
ILIAS\GlobalScreen\Scope\VisibilityAvailabilityTrait
trait VisibilityAvailabilityTrait
Definition:
VisibilityAvailabilityTrait.php:29
ILIAS\GlobalScreen\Scope\Footer\Factory\AbstractBaseItem
Definition:
AbstractBaseItem.php:30
ILIAS\GlobalScreen\Scope\Footer\Factory\AbstractBaseItem\getProviderIdentification
getProviderIdentification()
Definition:
AbstractBaseItem.php:53
ILIAS\GlobalScreen\Scope\Footer\Factory
Definition:
AbstractBaseItem.php:21
ILIAS\GlobalScreen\Scope\Footer\Factory\AbstractBaseItem\withPosition
withPosition(int $position)
Definition:
AbstractBaseItem.php:46
ILIAS\GlobalScreen\Scope\ComponentDecoratorTrait
trait ComponentDecoratorTrait
Definition:
ComponentDecoratorTrait.php:32
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
components
ILIAS
GlobalScreen
src
Scope
Footer
Factory
AbstractBaseItem.php
Generated on Tue Apr 8 2025 23:03:27 for ILIAS by
1.8.13 (using
Doxyfile
)