Project Versions

Table Of Contents

Previous topic

Interface Phalcon\Mvc\Model\ResultInterface

Next topic

Interface Phalcon\Mvc\Model\TransactionInterface

This Page

Interface Phalcon\Mvc\Model\ResultsetInterface

Phalcon\Mvc\Model\ResultsetInterface initializer

Methods

abstract public Phalcon\Mvc\ModelInterface getFirst ()

Get first row in the resultset

abstract public Phalcon\Mvc\ModelInterface getLast ()

Get last row in the resultset

abstract public setIsFresh (boolean $isFresh)

Set if the resultset is fresh or an old one cached

abstract public boolean isFresh ()

Tell if the resultset if fresh or an old one cached

abstract public Phalcon\Cache\BackendInterface getCache ()

Returns the associated cache for the resultset