src/DbSql/AbstractSqlQuerySerialyser.php
protected function addLimit($limit, $offset = null) {
        $limitQuery = '';

        if (intval($limit) > 0) {
            $limitQuery .= $this->getDriverEscaper()->dbCommand('LIMIT') . ' ' . $limit;  
            if (!is_null($offset)) {
                $limitQuery .= ' ' . $this->getDriverEscaper()->dbCommand('OFFSET') . ' ' . $offset;
            }
        }
        

        return $limitQuery;
    }
protected function addLimit($limit, $offset = null) {
        $limitQuery = '';

        if (intval($limit) > 0) {
            $limitQuery .= $this->getDriverEscaper()->dbCommand('LIMIT') . ' ' . $limit;  
            if (!is_null($offset)) {
                $limitQuery .= ' ' . $this->getDriverEscaper()->dbCommand('OFFSET') . ' ' . $offset;
            }
        }
        

        return $limitQuery;
    }
protected function addLimit ( $ limit , $ offset = null ) { $ limitQuery = '' ; if ( intval ( $ limit ) > 0 ) { $ limitQuery .= $ this -> getDriverEscaper ( ) -> dbCommand ( 'LIMIT' ) . ' ' . $ limit ; if ( ! is_null ( $ offset ) ) { $ limitQuery .= ' ' . $ this -> getDriverEscaper ( ) -> dbCommand ( 'OFFSET' ) . ' ' . $ offset ; } } return $ limitQuery ; }
create limit part for query
@param integer $limit
@param integer $offset
@return string
create limit part for query