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
AbstractBaseNotification.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\GlobalScreen\Scope\Notification\Factory
;
2
3
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
4
use
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\NotificationRenderer
;
5
use
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\StandardNotificationRenderer
;
6
use
ILIAS\UI\Factory
as
UIFactory
;
7
13
abstract
class
AbstractBaseNotification
implements
isStandardItem
14
{
15
19
protected
$provider_identification
;
20
26
protected
$handle_opened
;
27
33
protected
$handle_closed
;
34
40
public
function
__construct
(
IdentificationInterface
$identification)
41
{
42
$this->handle_opened =
function
() {
43
};
44
45
$this->provider_identification = $identification;
46
}
47
48
52
public
function
getProviderIdentification
() :
IdentificationInterface
53
{
54
return
$this->provider_identification
;
55
}
56
57
61
public
function
getRenderer
(
UIFactory
$factory
) :
NotificationRenderer
62
{
63
return
new
StandardNotificationRenderer
($factory);
64
}
65
69
public
function
withOpenedCallable
(callable
$handle_opened
) :
isItem
70
{
71
$clone = clone $this;
72
$clone->handle_opened =
$handle_opened
;
73
return
$clone;
74
}
75
79
public
function
getOpenedCallable
() : callable
80
{
81
return
$this->handle_opened
;
82
}
83
87
public
function
withClosedCallable
(callable
$handle_closed
) :
isItem
88
{
89
$clone = clone $this;
90
$clone->handle_closed =
$handle_closed
;
91
return
$clone;
92
}
93
97
public
function
getClosedCallable
()
98
{
99
return
$this->handle_closed
;
100
}
101
105
public
function
hasClosedCallable
()
106
{
107
return
is_callable($this->handle_closed);
108
}
109
}
ILIAS\GlobalScreen\Scope\Notification\Factory\AbstractBaseNotification\getOpenedCallable
getOpenedCallable()
Definition:
AbstractBaseNotification.php:79
ILIAS\GlobalScreen\Scope\Notification\Factory\AbstractBaseNotification\$handle_closed
$handle_closed
Definition:
AbstractBaseNotification.php:33
ILIAS\GlobalScreen\Scope\Notification\Factory\AbstractBaseNotification
Class AbstractBaseNotification.
Definition:
AbstractBaseNotification.php:13
ILIAS\GlobalScreen\Scope\Notification\Factory\AbstractBaseNotification\$provider_identification
$provider_identification
Definition:
AbstractBaseNotification.php:19
ILIAS\GlobalScreen\Scope\Notification\Factory\AbstractBaseNotification\getProviderIdentification
getProviderIdentification()
Definition:
AbstractBaseNotification.php:52
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:8
StandardNotificationRenderer
Factory
ILIAS\GlobalScreen\Scope\Notification\Factory\AbstractBaseNotification\hasClosedCallable
hasClosedCallable()
Definition:
AbstractBaseNotification.php:105
ILIAS\GlobalScreen\Scope\Notification\Factory\AbstractBaseNotification\__construct
__construct(IdentificationInterface $identification)
StandardNotification constructor.
Definition:
AbstractBaseNotification.php:40
ILIAS\GlobalScreen\Scope\Notification\Factory\isStandardItem
Interface isStandardItem.
Definition:
isStandardItem.php:7
IdentificationInterface
ILIAS\GlobalScreen\Scope\Notification\Factory\AbstractBaseNotification\withOpenedCallable
withOpenedCallable(callable $handle_opened)
Definition:
AbstractBaseNotification.php:69
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\StandardNotificationRenderer
Class StandardNotificationGroupRenderer.
Definition:
StandardNotificationRenderer.php:14
ILIAS\GlobalScreen\Scope\Notification\Collector\Renderer\NotificationRenderer
Interface NotificationRenderer.
Definition:
NotificationRenderer.php:15
ILIAS\GlobalScreen\Scope\Notification\Factory\AbstractBaseNotification\$handle_opened
$handle_opened
Definition:
AbstractBaseNotification.php:26
ILIAS\GlobalScreen\Scope\Notification\Factory\AbstractBaseNotification\withClosedCallable
withClosedCallable(callable $handle_closed)
Definition:
AbstractBaseNotification.php:87
ILIAS\GlobalScreen\Scope\Notification\Factory
Definition:
AbstractBaseNotification.php:1
$factory
$factory
Definition:
metadata.php:58
ILIAS\GlobalScreen\Scope\Notification\Factory\AbstractBaseNotification\getClosedCallable
getClosedCallable()
Definition:
AbstractBaseNotification.php:97
ILIAS\GlobalScreen\Scope\Notification\Factory\AbstractBaseNotification\getRenderer
getRenderer(UIFactory $factory)
Definition:
AbstractBaseNotification.php:61
ILIAS\GlobalScreen\Scope\Notification\Factory\isItem
Interface isItem.
Definition:
isItem.php:11
NotificationRenderer
src
GlobalScreen
Scope
Notification
Factory
AbstractBaseNotification.php
Generated on Sun Apr 6 2025 20:01:38 for ILIAS by
1.8.13 (using
Doxyfile
)