Class EntityCollectionIterator
Class for conveniently iterating through collections of entities beyond the ones which have been loaded from the server.
Represents a range 0-n, where n is the number of entities that the query would have returned if no limit was set. Only a part of this range is loaded at a time, so iterating may cause additional HTTP requests to be issued.
- PipelinerSales\ApiClient\EntityCollectionIterator implements SeekableIterator
Namespace: PipelinerSales\ApiClient
Located at PipelinerSales/ApiClient/EntityCollectionIterator.php
Located at PipelinerSales/ApiClient/EntityCollectionIterator.php
public
|
#
__construct(
|
public
|
|
public
integer
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
#
dataAvailable( )
True if data for the current position has been loaded from the server and is locally available. |
public
boolean
|
#
nextDataAvailable( )
True if data for the next position has been loaded from the server and is locally available. This is useful in foreach loops to determine whether the next iteration will issue a HTTP request. |
public
boolean
|
|
public
|