__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)
array
The data to set
add(mixed $item)
mixed
The item to add to the result set
count() : int
int
The number of items in the result setcurrent() : mixed
key() : \Cactus\scalar
link | http://php.net/manual/en/iterator.key.php |
---|
\Cactus\scalar
scalar on success, integer 0 on failure.offsetExists(mixed $offset) : boolean
link | http://php.net/manual/en/arrayaccess.offsetexists.php |
---|
mixed
An offset to check for
boolean
true on success or false on failure.offsetGet(mixed $offset) : mixed
link | http://php.net/manual/en/arrayaccess.offsetget.php |
---|
mixed
The offset to retrieve.
mixed
Can return all value types.offsetSet(mixed $offset, mixed $value)
link | http://php.net/manual/en/arrayaccess.offsetset.php |
---|
mixed
The offset to assign the value to.
mixed
The value to set.
offsetUnset(mixed $offset)
link | http://php.net/manual/en/arrayaccess.offsetunset.php |
---|
mixed
The offset to unset.
valid() : boolean
link | http://php.net/manual/en/iterator.valid.php |
---|
boolean
Returns true on success or false on failure.$data : array