ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
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
CssCollection.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
namespace
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media
;
21
26
class
CssCollection
extends
AbstractCollection
27
{
31
public
function
addItem
(
Css
$item) : void
32
{
33
$real_path = realpath(parse_url($item->
getContent
(), PHP_URL_PATH));
34
foreach
($this->
getItems
() as
$css
) {
35
if
(realpath(parse_url($css->getContent(), PHP_URL_PATH)) === $real_path) {
36
return
;
37
}
38
}
39
$this->items[] = $item;
40
}
41
45
public
function
getItemsInOrderOfDelivery
() : array
46
{
47
return
parent::getItemsInOrderOfDelivery();
48
}
49
}
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\Css
Class Css.
Definition:
Css.php:28
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\AbstractMediaWithPath\getContent
getContent()
Definition:
AbstractMediaWithPath.php:29
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\AbstractCollection
Class Js.
Definition:
AbstractCollection.php:29
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\CssCollection\addItem
addItem(Css $item)
Definition:
CssCollection.php:31
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\CssCollection\getItemsInOrderOfDelivery
getItemsInOrderOfDelivery()
Definition:
CssCollection.php:45
ILIAS\GlobalScreen\Scope\Layout\MetaContent\MetaContent\$css
$css
Definition:
MetaContent.php:59
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\AbstractCollection\getItems
getItems()
Definition:
AbstractCollection.php:57
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media
Definition:
AbstractCollection.php:21
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\CssCollection
Definition:
CssCollection.php:26
src
GlobalScreen
Scope
Layout
MetaContent
Media
CssCollection.php
Generated on Thu Apr 10 2025 21:01:51 for ILIAS by
1.8.13 (using
Doxyfile
)