lithium\data\model\Query::offset()
Set and get method for query's offset, i.e. which records to get
Parameters
-
integer|null
$offset
Returns
integer|\lithium\data\QuerySource
public function offset($offset = null) {
if ($offset !== null) {
$this->_config['offset'] = (integer) $offset;
return $this;
}
return $this->_config['offset'];
}