DOMNodeList wrapper for Zend results.
More...
|
| __construct (DOMNodeList $list) |
| Constructor.
|
|
| rewind () |
| Iterator: rewind to first element.
|
|
| valid () |
| Iterator: is current position valid?
|
|
| current () |
| Iterator: return current element.
|
|
| key () |
| Iterator: return key of current element.
|
|
| next () |
| Iterator: move to next element.
|
|
| count () |
| Countable: get count.
|
|
| offsetExists ($key) |
| ArrayAccess: offset exists.
|
|
| offsetGet ($key) |
| ArrayAccess: get offset.
|
|
| offsetSet ($key, $value) |
| ArrayAccess: set offset.
|
|
| offsetUnset ($key) |
| ArrayAccess: unset offset.
|
|
DOMNodeList wrapper for Zend results.
__construct |
( |
DOMNodeList |
$list | ) |
|
Countable: get count.
- Returns
- int
Iterator: return current element.
- Returns
- DOMNode
Iterator: return key of current element.
- Returns
- int
Iterator: move to next element.
- Returns
- DOMNode
ArrayAccess: offset exists.
- Parameters
-
- Returns
- bool
ArrayAccess: get offset.
- Parameters
-
- Returns
- mixed
offsetSet |
( |
|
$key, |
|
|
|
$value |
|
) |
| |
ArrayAccess: set offset.
- Parameters
-
- Exceptions
-
Exception\BadMethodCallException | when attempting to write to a read-only item |
ArrayAccess: unset offset.
- Parameters
-
- Exceptions
-
Exception\BadMethodCallException | when attempting to unset a read-only item |
Iterator: rewind to first element.
- Returns
- DOMNode
Iterator: is current position valid?
- Returns
- bool