Méthode |
Description |
|
__construct ( EntityManager $entity_manager, Bravo3\Orm\Query\QueryInterface $query, array $results, $full_size = null, $use_cache = true ) |
|
|
count ( ) : integer |
Result set size |
|
current ( ) : object |
Return the current entity |
|
getEntityById ( string $id ) : object | null |
Return an entity from the results by its ID |
|
getFullSize ( ) : integer |
Get the full size of the query, without any limits applied to it |
|
getIdList ( ) : string[] |
Get the full list of IDs returned in the query |
|
getQuery ( ) : Bravo3\Orm\Query\QueryInterface |
Get the search query |
|
key ( ) : mixed |
Get the key of the current element |
|
next ( ) |
Move forward to the next entity |
|
offsetExists ( integer $offset ) : boolean |
Check if an ID is in the result set |
|
offsetGet ( integer $offset ) : object |
Retrieve the entity at position $offset |
|
offsetSet ( integer $offset, mixed $value ) |
You cannot set query elements, calling this function will throw a \LogicException |
|
offsetUnset ( integer $offset ) |
You cannot unset query elements, calling this function will throw a \LogicException |
|
rewind ( ) |
Rewind the Iterator to the first element |
|
valid ( ) : boolean |
Checks if current position is valid |
|