implements ArrayAccess
This component allows Phalcon\Mvc\Collection to return rows without an associated entity. This objects implements the ArrayAccess interface to allow access the object as object->x or array[x].
Checks whether an offset exists in the document
Returns the value of a field using the ArrayAccess interfase
Change a value using the ArrayAccess interface
Rows cannot be changed. It has only been implemented to meet the definition of the ArrayAccess interface
Reads an attribute value by its name
echo $robot->readAttribute('name');
Writes an attribute value by its name
$robot->writeAttribute('name', 'Rosey');
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Mvc_Collection_Document.html