Class EntityCollection
Represents an immutable collection of multiple entities of a common type. The entities themselves are mutable (i.e. you can modify the entity object inside the collection, but you can not add/remove/reorder/etc. entities from/to the collection.
Works like a regular PHP array, but contains additional information about the number of entities that were not loaded due to a query limit.
- ArrayObject implements IteratorAggregate, Traversable, ArrayAccess, Serializable, Countable
-
PipelinerSales\ApiClient\EntityCollection
public
|
#
__construct( array $data, mixed $criteria, integer $startIndex, integer $endIndex, integer $totalCount )
Creates a collection based on an existing array |
public
integer
|
|
public
|
|
public
integer
|
#
getStartIndex( )
Returns the index of the first item in this colleciton. It is identical to the offset that was used to fetch this collection. |
public
integer
|
append(),
asort(),
count(),
exchangeArray(),
getArrayCopy(),
getFlags(),
getIterator(),
getIteratorClass(),
ksort(),
natcasesort(),
natsort(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
serialize(),
setFlags(),
setIteratorClass(),
uasort(),
uksort(),
unserialize()
|
ARRAY_AS_PROPS,
STD_PROP_LIST
|