프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$dataMapper | |||
$numberOfResults | array | ||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | ||
$query | Neos\Flow\Persistence\QueryInterface | ||
$queryResult | array |
메소드 | 설명 | |
---|---|---|
__construct ( Neos\Flow\Persistence\QueryInterface $query ) | Constructor | |
count ( ) : integer | Returns the number of objects in the result | |
current ( ) : mixed | ||
getFirst ( ) : mixed | Returns the first object in the result set, if any. | |
getQuery ( ) : Neos\Flow\Persistence\QueryInterface | Returns a clone of the query object | |
injectDataMapper ( |
Injects the DataMapper to map records to objects | |
injectPersistenceManager ( Neos\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void | Injects the persistence manager | |
key ( ) : mixed | ||
next ( ) : void | ||
offsetExists ( mixed $offset ) : boolean | This method is needed to implement the \ArrayAccess interface, but it isn't very useful as the offset has to be an integer | |
offsetGet ( mixed $offset ) : mixed | ||
offsetSet ( mixed $offset, mixed $value ) : void | This method has no effect on the persisted objects but only on the result set | |
offsetUnset ( mixed $offset ) : void | This method has no effect on the persisted objects but only on the result set | |
rewind ( ) : void | ||
toArray ( ) : array | Returns an array with the objects in the result set | |
valid ( ) : boolean |
메소드 | 설명 | |
---|---|---|
initialize ( ) : void | Loads the objects this QueryResult is supposed to hold |
public __construct ( Neos\Flow\Persistence\QueryInterface $query ) | ||
$query | Neos\Flow\Persistence\QueryInterface |
public getQuery ( ) : Neos\Flow\Persistence\QueryInterface | ||
리턴 | Neos\Flow\Persistence\QueryInterface |
protected initialize ( ) : void | ||
리턴 | void |
public injectDataMapper ( |
||
$dataMapper | ||
리턴 | void |
public injectPersistenceManager ( Neos\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void | ||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | |
리턴 | void |
public offsetExists ( mixed $offset ) : boolean | ||
$offset | mixed | |
리턴 | boolean |
public offsetUnset ( mixed $offset ) : void | ||
$offset | mixed | |
리턴 | void |
protected DataMapper,Neos\Flow\Persistence\Generic $dataMapper | ||
리턴 |
protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager | ||
리턴 | Neos\Flow\Persistence\PersistenceManagerInterface |
protected QueryInterface,Neos\Flow\Persistence $query | ||
리턴 | Neos\Flow\Persistence\QueryInterface |