PHP Class Jackalope\Query\RowIterator

Inheritance: implements SeekableIterator, implements Countable
Afficher le fichier Open project: jackalope/jackalope

Protected Properties

Свойство Type Description
$factory Jackalope\FactoryInterface
$objectManager Jackalope\ObjectManager
$position integer
$rows array

Méthodes publiques

Méthode Description
__construct ( Jackalope\FactoryInterface $factory, ObjectManager $objectManager, array $rows ) Create the iterator.
count ( ) : integer
current ( )
key ( )
next ( )
rewind ( )
seek ( integer $position )
valid ( ) : boolean

Method Details

__construct() public méthode

Create the iterator.
public __construct ( Jackalope\FactoryInterface $factory, ObjectManager $objectManager, array $rows )
$factory Jackalope\FactoryInterface the object factory
$objectManager Jackalope\ObjectManager
$rows array Raw data as described in QueryResult and \Jackalope\Transport\TransportInterface

count() public méthode

public count ( ) : integer
Résultat integer

current() public méthode

public current ( )

key() public méthode

public key ( )

next() public méthode

public next ( )

rewind() public méthode

public rewind ( )

seek() public méthode

public seek ( integer $position )
$position integer

valid() public méthode

public valid ( ) : boolean
Résultat boolean

Property Details

$factory protected_oe property

protected FactoryInterface,Jackalope $factory
Résultat Jackalope\FactoryInterface

$objectManager protected_oe property

protected ObjectManager,Jackalope $objectManager
Résultat Jackalope\ObjectManager

$position protected_oe property

protected int $position
Résultat integer

$rows protected_oe property

protected array $rows
Résultat array