class FlashMessage implements Iterator

Class FlashMessage

Methods

__construct()

No description

add($type, $messages)

No description

addAll($all)

No description

isEmpty()

No description

getCount()

No description

mixed
current()

(PHP 5 >= 5.0.0)
Return the current element

void
next()

(PHP 5 >= 5.0.0)
Move forward to next element

mixed
key()

(PHP 5 >= 5.0.0)
Return the key of the current element

boolean
valid()

(PHP 5 >= 5.0.0)
Checks if current position is valid

void
rewind()

(PHP 5 >= 5.0.0)
Rewind the Iterator to the first element

Details

at line 25
__construct()

at line 31
add($type, $messages)

Parameters

$type
$messages

at line 41
addAll($all)

Parameters

$all

at line 48
isEmpty()

at line 53
getCount()

at line 64
mixed current()

(PHP 5 >= 5.0.0)
Return the current element

Return Value

mixed Can return any type.

at line 75
void next()

(PHP 5 >= 5.0.0)
Move forward to next element

Return Value

void Any returned value is ignored.

at line 86
mixed key()

(PHP 5 >= 5.0.0)
Return the key of the current element

Return Value

mixed scalar on success, or null on failure.

at line 98
boolean valid()

(PHP 5 >= 5.0.0)
Checks if current position is valid

Return Value

boolean The return value will be casted to boolean and then evaluated. Returns true on success or false on failure.

at line 109
void rewind()

(PHP 5 >= 5.0.0)
Rewind the Iterator to the first element

Return Value

void Any returned value is ignored.