PHP Class Neos\Flow\Persistence\EmptyQueryResult

Inheritance: implements Neos\Flow\Persistence\QueryResultInterface
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$query Neos\Flow\Persistence\QueryInterface

Méthodes publiques

Méthode Description
__construct ( Neos\Flow\Persistence\QueryInterface $query ) Constructor
count ( ) : integer
current ( ) : object
getFirst ( ) : object Returns NULL
getQuery ( ) : Neos\Flow\Persistence\QueryInterface Returns a clone of the query object
key ( ) : integer
next ( ) : void
offsetExists ( mixed $offset ) : boolean
offsetGet ( mixed $offset ) : mixed
offsetSet ( mixed $offset, mixed $value ) : void
offsetUnset ( mixed $offset ) : void
rewind ( ) : void
toArray ( ) : array Returns an empty array
valid ( ) : boolean

Method Details

__construct() public méthode

Constructor
public __construct ( Neos\Flow\Persistence\QueryInterface $query )
$query Neos\Flow\Persistence\QueryInterface

count() public méthode

public count ( ) : integer
Résultat integer Returns 0 in this case

current() public méthode

public current ( ) : object
Résultat object Returns NULL in this case

getFirst() public méthode

Returns NULL
public getFirst ( ) : object
Résultat object Returns NULL in this case

getQuery() public méthode

Returns a clone of the query object
public getQuery ( ) : Neos\Flow\Persistence\QueryInterface
Résultat Neos\Flow\Persistence\QueryInterface

key() public méthode

public key ( ) : integer
Résultat integer Returns 0 in this case

next() public méthode

public next ( ) : void
Résultat void

offsetExists() public méthode

public offsetExists ( mixed $offset ) : boolean
$offset mixed
Résultat boolean Returns FALSE in this case

offsetGet() public méthode

public offsetGet ( mixed $offset ) : mixed
$offset mixed
Résultat mixed Returns NULL in this case

offsetSet() public méthode

public offsetSet ( mixed $offset, mixed $value ) : void
$offset mixed The offset is ignored in this case
$value mixed The value is ignored in this case
Résultat void

offsetUnset() public méthode

public offsetUnset ( mixed $offset ) : void
$offset mixed The offset is ignored in this case
Résultat void

rewind() public méthode

public rewind ( ) : void
Résultat void

toArray() public méthode

Returns an empty array
public toArray ( ) : array
Résultat array

valid() public méthode

public valid ( ) : boolean
Résultat boolean Returns FALSE in this case

Property Details

$query protected_oe property

protected QueryInterface,Neos\Flow\Persistence $query
Résultat Neos\Flow\Persistence\QueryInterface