ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilNotificationHandlerIterator.php
Go to the documentation of this file.
1
<?php
2
3
class
ilNotificationHandlerIterator
implements
Iterator
4
{
5
private
$items
=
array
();
6
private
$index
= 0;
7
8
public
function
__construct
(
array
$items
=
array
())
9
{
10
$this->items =
$items
;
11
}
12
13
public
function
addItem
(
ilNotificationHandler
$handler
)
14
{
15
$this->items[] =
$handler
;
16
}
17
22
public
function
current
()
23
{
24
return
$this->items[
$this->index
];
25
}
26
31
public
function
key
()
32
{
33
return
$this->index
;
34
}
35
36
public
function
next
()
37
{
38
$this->index++;
39
}
40
41
public
function
rewind
()
42
{
43
$this->index = 0;
44
}
45
50
public
function
valid
()
51
{
52
return
$this->index < count($this->items);
53
}
54
}
ilNotificationHandlerIterator\__construct
__construct(array $items=array())
Definition:
class.ilNotificationHandlerIterator.php:8
ilNotificationHandlerIterator\next
next()
Definition:
class.ilNotificationHandlerIterator.php:36
ilNotificationHandlerIterator\key
key()
Definition:
class.ilNotificationHandlerIterator.php:31
ilNotificationHandlerIterator\rewind
rewind()
Definition:
class.ilNotificationHandlerIterator.php:41
ilNotificationHandler
Base class for notification handlers.
Definition:
class.ilNotificationHandler.php:16
ilNotificationHandlerIterator\$items
$items
Definition:
class.ilNotificationHandlerIterator.php:5
ilNotificationHandlerIterator
Definition:
class.ilNotificationHandlerIterator.php:3
ilNotificationHandlerIterator\valid
valid()
Definition:
class.ilNotificationHandlerIterator.php:50
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
Iterator
ilNotificationHandlerIterator\addItem
addItem(ilNotificationHandler $handler)
Definition:
class.ilNotificationHandlerIterator.php:13
ilNotificationHandlerIterator\current
current()
Definition:
class.ilNotificationHandlerIterator.php:22
$handler
$handler
Definition:
resumelogout.php:11
ilNotificationHandlerIterator\$index
$index
Definition:
class.ilNotificationHandlerIterator.php:6
Services
Notifications
classes
class.ilNotificationHandlerIterator.php
Generated on Tue Jan 28 2025 19:01:38 for ILIAS by
1.8.13 (using
Doxyfile
)