lithium\data\model\Query::offset()

public method

Set and get method for query's offset, i.e. which records to get

Parameters

  • integer|null $offset

Returns

integer|\lithium\data\Query

Source

	public function offset($offset = null) {
		if ($offset !== null) {
			$this->_config['offset'] = (integer) $offset;
			return $this;
		}
		return $this->_config['offset'];
	}