Method |
Description |
|
__call ( string $method, array $params = [] ) : IdiormResultSet |
Call a method on all models in a result set. This allows for method
chaining such as setting a property on all models in a result set or
any other batch operation across models. |
|
__construct ( array $results = [] ) |
Optionally set the contents of the result set by passing in array |
|
as_array ( ) : array |
Get the current result set as an array |
|
count ( ) : integer |
Get the number of records in the result set |
|
getIterator ( ) : ArrayIterator |
Get an iterator for this object. In this case it supports foreaching
over the result set. |
|
get_results ( ) : array |
Get the current result set as an array |
|
offsetExists ( integer | string $offset ) : boolean |
ArrayAccess |
|
offsetGet ( integer | string $offset ) : mixed |
ArrayAccess |
|
offsetSet ( integer | string $offset, mixed $value ) |
ArrayAccess |
|
offsetUnset ( integer | string $offset ) |
ArrayAccess |
|
serialize ( ) : string |
Serializable |
|
set_results ( array $results ) |
Set the contents of the result set by passing in array |
|
unserialize ( string $serialized ) : array |
Serializable |
|