Mvc\Model\Row::toArray

public array toArray () Returns the instance as an array representation

Mvc\Model\Row::setDirtyState

public setDirtyState (mixed $dirtyState) Set the current object’s state

Mvc\Model\Row::jsonSerialize

public array jsonSerialize () Serializes the object for json_encode

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::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::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\Row::offsetExists

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

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::HYDRATE_RECORDS

integer HYDRATE_RECORDS