code: public function setLimit($num, $offset = 0)
  	{
  		$this->limit = (int) $num;
  		$this->offset = (int) $offset;
  	}
docs: Sets the limit.
  
  @param int $num    The number to limit the queries to
  @param int $offset The offset of which row to start the results with