src/Data/BizDataObj_Abstract.php
public function setLimit($count, $offset = 0)
    {
        if ($count < 0) {
            $count = 0;
        }
        if ($offset < 0) {
            $offset = 0;
        }
        $this->queryLimit['count'] = $count;
        $this->queryLimit['offset'] = $offset;
    }
public function setLimit($count, $offset = 0)
    {
        if ($count < 0) {
            $count = 0;
        }
        if ($offset < 0) {
            $offset = 0;
        }
        $this->queryLimit['count'] = $count;
        $this->queryLimit['offset'] = $offset;
    }
Set limit of the query.

@param int $count the number of records to return
@param int $offset the starting position of the result records
@return void