ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
◀ 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
AbstractBaseCollector.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Collector
;
22
27
abstract
class
AbstractBaseCollector
implements
Collector
28
{
29
private
bool
$has_been_collected
=
false
;
30
31
private
function
setCollected
(): void
32
{
33
$this->has_been_collected =
true
;
34
}
35
36
public
function
hasBeenCollected
(): bool
37
{
38
return
$this->has_been_collected
;
39
}
40
41
public
function
collectOnce
(): void
42
{
43
if
(!$this->
hasBeenCollected
()) {
44
$this->
collectStructure
();
45
$this->
prepareItemsForUIRepresentation
();
46
$this->
filterItemsByVisibilty
();
47
$this->
cleanupItemsForUIRepresentation
();
48
$this->
sortItemsForUIRepresentation
();
49
$this->
setCollected
();
50
}
51
}
52
53
public
function
collectStructure
(): void
54
{
55
}
56
57
public
function
prepareItemsForUIRepresentation
(): void
58
{
59
}
60
61
public
function
filterItemsByVisibilty
(): void
62
{
63
}
64
65
public
function
cleanupItemsForUIRepresentation
(): void
66
{
67
}
68
69
public
function
sortItemsForUIRepresentation
(): void
70
{
71
}
72
73
}
ILIAS\Awareness\User\Collector\AbstractBaseCollector\collectOnce
collectOnce()
Runs the Collection of all items from the providers.
Definition:
AbstractBaseCollector.php:41
ILIAS\Awareness\User\Collector\AbstractBaseCollector
Class AbstractBaseCollector.
Definition:
AbstractBaseCollector.php:27
ILIAS\Awareness\User\Collector\AbstractBaseCollector\filterItemsByVisibilty
filterItemsByVisibilty()
Definition:
AbstractBaseCollector.php:61
ILIAS\Awareness\User\Collector\Collector
Definition:
Collector.php:26
ILIAS\Awareness\User\Collector\AbstractBaseCollector\collectStructure
collectStructure()
Definition:
AbstractBaseCollector.php:53
ILIAS\Awareness\User\Collector\AbstractBaseCollector\prepareItemsForUIRepresentation
prepareItemsForUIRepresentation()
Definition:
AbstractBaseCollector.php:57
ILIAS\Awareness\User\Collector\AbstractBaseCollector\cleanupItemsForUIRepresentation
cleanupItemsForUIRepresentation()
Definition:
AbstractBaseCollector.php:65
ILIAS\Awareness\User\Collector\AbstractBaseCollector\sortItemsForUIRepresentation
sortItemsForUIRepresentation()
Definition:
AbstractBaseCollector.php:69
ILIAS\Awareness\User\Collector\AbstractBaseCollector\hasBeenCollected
hasBeenCollected()
Definition:
AbstractBaseCollector.php:36
ILIAS\Awareness\User\Collector\AbstractBaseCollector\setCollected
setCollected()
Definition:
AbstractBaseCollector.php:31
ILIAS\Awareness\User\Collector\AbstractBaseCollector\$has_been_collected
bool $has_been_collected
Definition:
AbstractBaseCollector.php:29
ILIAS\GlobalScreen\Collector
PhpIncompatibleReturnTypeInspection
Definition:
AbstractBaseCollector.php:21
components
ILIAS
GlobalScreen
src
Collector
AbstractBaseCollector.php
Generated on Fri Apr 4 2025 23:03:13 for ILIAS by
1.8.13 (using
Doxyfile
)