implements Phalcon\Mvc\EntityInterface, Phalcon\Mvc\Model\ResultInterface, ArrayAccess, JsonSerializable
This component allows Phalcon\Mvc\Model to return rows without an associated entity. This objects implements the ArrayAccess interface to allow access the object as object->x or array[x].
Set the current object’s state
Checks whether offset exists in the row
Gets a record in a specific position of the row
Rows cannot be changed. It has only been implemented to meet the definition of 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');
Returns the instance as an array representation
Serializes the object for json_encode
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/latest/api/Phalcon_Mvc_Model_Row.html