__construct()
add()
count()
current()
key()
next()
offsetExists()
offsetGet()
offsetSet()
offsetUnset()
rewind()
valid()
$data
A collection of Cactus Entities
| package | Cactus |
|---|---|
| author | Dave Widmer |
__construct(array $data)
arrayThe data to set
add(mixed $item)
mixedThe item to add to the result set
count() : int
intThe number of items in the result setcurrent() : mixed
key() : \Cactus\scalar
| link | http://php.net/manual/en/iterator.key.php |
|---|
\Cactus\scalarscalar on success, integer 0 on failure.offsetExists(mixed $offset) : boolean
| link | http://php.net/manual/en/arrayaccess.offsetexists.php |
|---|
mixedAn offset to check for
booleantrue on success or false on failure.offsetGet(mixed $offset) : mixed
| link | http://php.net/manual/en/arrayaccess.offsetget.php |
|---|
mixedThe offset to retrieve.
mixedCan return all value types.offsetSet(mixed $offset, mixed $value)
| link | http://php.net/manual/en/arrayaccess.offsetset.php |
|---|
mixedThe offset to assign the value to.
mixedThe value to set.
offsetUnset(mixed $offset)
| link | http://php.net/manual/en/arrayaccess.offsetunset.php |
|---|
mixedThe offset to unset.
valid() : boolean
| link | http://php.net/manual/en/iterator.valid.php |
|---|
booleanReturns true on success or false on failure.$data : array