Property | Type | Description | |
---|---|---|---|
$array | array | ||
$valid | integer |
Method | Description | |
---|---|---|
__toString ( ) : string | ||
count ( ) : integer | ||
current ( ) : mixed |
(PHP 5 >= 5.0.0) Return the current element |
|
key ( ) : mixed |
(PHP 5 >= 5.0.0) Return the key of the current element |
|
next ( ) : void |
(PHP 5 >= 5.0.0) Move forward to next element |
|
offsetExists ( mixed $index ) : boolean |
(PHP 5 >= 5.0.0) Whether a offset exists |
|
offsetGet ( integer $index ) : mixed |
(PHP 5 >= 5.0.0) Offset to retrieve |
|
offsetSet ( integer $index, mixed $value ) : void |
(PHP 5 >= 5.0.0) Offset to set |
|
offsetUnset ( integer $index ) : void |
(PHP 5 >= 5.0.0) Offset to unset |
|
rewind ( ) : void |
(PHP 5 >= 5.0.0) Rewind the Iterator to the first element |
|
toArray ( ) : array | ||
valid ( ) : boolean |
(PHP 5 >= 5.0.0) Checks if current position is valid |
Method | Description | |
---|---|---|
stringifyArray ( array $array ) | region __toString |
public offsetExists ( mixed $index ) : boolean | ||
$index | mixed | An offset to check for. |
return | boolean | true on success or false on failure.
The return value will be casted to boolean if non-boolean was returned. |
public offsetUnset ( integer $index ) : void | ||
$index | integer | The offset to unset. |
return | void |
protected stringifyArray ( array $array ) | ||
$array | array |