class FragmentBag implements Iterator

Class FragmentBag

Methods

__construct()

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

clear()

Clears all parameters.

isEmpty()

No description

getCount()

No description

add($data)

No description

addFragment( Fragment $fragment)

No description

array
keys()

Gets the all keys fragment.

Details

at line 29
__construct()

at line 41
mixed current()

(PHP 5 >= 5.0.0)
Return the current element

Return Value

mixed Can return any type.

at line 52
void next()

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

Return Value

void Any returned value is ignored.

at line 63
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 75
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 86
void rewind()

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

Return Value

void Any returned value is ignored.

at line 96
clear()

Clears all parameters.

at line 102
isEmpty()

at line 107
getCount()

at line 112
add($data)

Parameters

$data

at line 118
addFragment( Fragment $fragment)

Parameters

Fragment $fragment

at line 130
array keys()

Gets the all keys fragment.

Return Value

array An array of parameters