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
CssCollection.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media
;
2
3
/******************************************************************************
4
*
5
* This file is part of ILIAS, a powerful learning management system.
6
*
7
* ILIAS is licensed with the GPL-3.0, you should have received a copy
8
* of said license along with the source code.
9
*
10
* If this is not the case or you just want to try ILIAS, you'll find
11
* us at:
12
* https://www.ilias.de
13
* https://github.com/ILIAS-eLearning
14
*
15
*****************************************************************************/
21
class
CssCollection
extends
AbstractCollection
22
{
23
27
public
function
addItem
(
Css
$item)
28
{
29
$real_path = realpath(parse_url($item->
getContent
(), PHP_URL_PATH));
30
foreach
($this->
getItems
() as
$css
) {
31
if
(realpath(parse_url($css->getContent(), PHP_URL_PATH)) === $real_path) {
32
return
;
33
}
34
}
35
$this->items[] = $item;
36
}
37
38
42
public
function
getItemsInOrderOfDelivery
() : array
43
{
44
return
parent::getItemsInOrderOfDelivery();
45
}
46
}
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\Css
Class Css.
Definition:
Css.php:20
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\AbstractMediaWithPath\getContent
getContent()
Definition:
AbstractMediaWithPath.php:9
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\AbstractCollection
Class Js.
Definition:
AbstractCollection.php:23
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\CssCollection\addItem
addItem(Css $item)
Definition:
CssCollection.php:27
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\CssCollection\getItemsInOrderOfDelivery
getItemsInOrderOfDelivery()
Definition:
CssCollection.php:42
ILIAS\GlobalScreen\Scope\Layout\MetaContent\MetaContent\$css
$css
Definition:
MetaContent.php:39
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\AbstractCollection\getItems
getItems()
Definition:
AbstractCollection.php:49
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media
Definition:
AbstractCollection.php:1
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\CssCollection
Definition:
CssCollection.php:21
src
GlobalScreen
Scope
Layout
MetaContent
Media
CssCollection.php
Generated on Thu Apr 17 2025 20:01:29 for ILIAS by
1.8.13 (using
Doxyfile
)