Mvc\Model\Row::offsetSet

public offsetSet (string | int $index, Phalcon\Mvc\ModelInterface $value) Rows cannot be changed. It has only been implemented to meet the definition of the ArrayAccess interface

Mvc\Model\Row::offsetGet

public string | Phalcon\Mvc\ModelInterface offsetGet (string | int $index) Gets a record in a specific position of the row

Mvc\Model\Row::offsetExists

public boolean offsetExists (string | int $index) Checks whether offset exists in the row

Mvc\Model\Row::jsonSerialize

public array jsonSerialize () Serializes the object for json_encode

Mvc\Model\Row

implements Phalcon\Mvc\EntityInterface, Phalcon\Mvc\Model\ResultInterface, ArrayAccess, JsonSerializable Source on GitHub 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]. Methods public setDirtyState (mixed $dirtyState) Set the current object’s state public boolean offsetExists (string | int $index) Checks whether offset exists in the row public string |

Mvc\Model\Resultset\Simple::unserialize

public unserialize (mixed $data) Unserializing a resultset will allow to only works on the rows present in the saved state

Mvc\Model\Resultset\Simple::TYPE_RESULT_PARTIAL

integer TYPE_RESULT_PARTIAL

Mvc\Model\Resultset\Simple::TYPE_RESULT_FULL

integer TYPE_RESULT_FULL

Mvc\Model\Resultset\Simple::toArray

public toArray ([mixed $renameColumns]) Returns a complete resultset as an array, if the resultset has a big number of rows it could consume more memory than currently it does. Export the resultset to an array couldn’t be faster with a large number of records

Mvc\Model\Resultset\Simple::serialize

public serialize () Serializing a resultset will dump all related rows into a big array