ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
ilNotificationHandlerIterator\addItem
addItem(ilNotificationHandler $handler)
Definition:
class.ilNotificationHandlerIterator.php:13
Iterator
ilNotificationHandlerIterator\current
current()
Definition:
class.ilNotificationHandlerIterator.php:22
ilNotificationHandlerIterator\$index
$index
Definition:
class.ilNotificationHandlerIterator.php:6
Services
Notifications
classes
class.ilNotificationHandlerIterator.php
Generated on Sun Aug 31 2025 21:01:29 for ILIAS by
1.8.13 (using
Doxyfile
)