src/Budkit/Datastore/Activerecord.php
final public function limit($value, $offset = '')
    {
        $this->arrayLimit = $value;
        if ($offset != '') {
            $this->arrayOffset = $offset;
        }
        return $this;
    }
final public function limit($value, $offset = '')
    {
        $this->arrayLimit = $value;
        if ($offset != '') {
            $this->arrayOffset = $offset;
        }
        return $this;
    }
final public function limit ( $ value , $ offset = '' ) { $ this -> arrayLimit = $ value ; if ( $ offset != '' ) { $ this -> arrayOffset = $ offset ; } return $ this ; }
Adds a limit to the query statement

@param interger $value
@param interger $offset
@return object ActiveRecord
Adds a limit to the query statement