Method |
Description |
|
__call ( string $method, array $arguments ) : mixed; |
Attempts to call the method on the first node in
the collection. |
|
__get ( mixed $key ) : mixed |
Attempts to apply the magic get to the first node
in the collection. |
|
__toString ( ) : string |
Applies the magic string method to the first node in
the collection. |
|
count ( ) : integer |
Returns the count of the collection. |
|
each ( callback $callback ) |
Similar to jQuery "each" method. Calls the callback with each
Node in this collection. |
|
getIterator ( ) : ArrayIterator |
Returns an iterator for the collection. |
|
offsetExists ( mixed $offset ) : boolean |
Checks if an offset exists. |
|
offsetGet ( mixed $offset ) : mixed |
Gets a node at the given offset, or null |
|
offsetSet ( mixed $offset, mixed $value ) |
Set an attribute by the given offset |
|
offsetUnset ( mixed $offset ) |
Unset a collection Node. |
|
toArray ( ) : array |
Returns this collection as an array. |
|