ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ 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
$this->items =
$items
;
10
}
11
12
public
function
addItem
(
ilNotificationHandler
$handler) {
13
$this->items[] = $handler;
14
}
15
20
public
function
current
() {
21
return
$this->items[
$this->index
];
22
}
23
28
public
function
key
() {
29
return
$this->index
;
30
}
31
32
public
function
next
() {
33
$this->index++;
34
}
35
36
public
function
rewind
() {
37
$this->index = 0;
38
}
39
44
public
function
valid
() {
45
return
$this->index < count($this->items);
46
}
47
}
48
?>
ilNotificationHandlerIterator\__construct
__construct(array $items=array())
Definition:
class.ilNotificationHandlerIterator.php:8
ilNotificationHandlerIterator\next
next()
Definition:
class.ilNotificationHandlerIterator.php:32
ilNotificationHandlerIterator\key
key()
Definition:
class.ilNotificationHandlerIterator.php:28
ilNotificationHandlerIterator\rewind
rewind()
Definition:
class.ilNotificationHandlerIterator.php:36
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:44
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
Iterator
ilNotificationHandlerIterator\addItem
addItem(ilNotificationHandler $handler)
Definition:
class.ilNotificationHandlerIterator.php:12
php
ilNotificationHandlerIterator\current
current()
Definition:
class.ilNotificationHandlerIterator.php:20
ilNotificationHandlerIterator\$index
$index
Definition:
class.ilNotificationHandlerIterator.php:6
Services
Notifications
classes
class.ilNotificationHandlerIterator.php
Generated on Fri Jan 17 2025 19:01:15 for ILIAS by
1.8.13 (using
Doxyfile
)