src/Titon/Db/Driver/Dialect/AbstractDialect.php
public function formatLimitOffset($limit, $offset = 0) {
        if ($limit && $offset) {
            return sprintf($this->getClause(self::LIMIT_OFFSET), (int) $limit, (int) $offset);
        }

        return $this->formatLimit($limit);
    }
public function formatLimitOffset($limit, $offset = 0) {
        if ($limit && $offset) {
            return sprintf($this->getClause(self::LIMIT_OFFSET), (int) $limit, (int) $offset);
        }

        return $this->formatLimit($limit);
    }
public function formatLimitOffset ( $ limit , $ offset = 0 ) { if ( $ limit && $ offset ) { return sprintf ( $ this -> getClause ( self :: LIMIT_OFFSET ) , ( int ) $ limit , ( int ) $ offset ) ; } return $ this -> formatLimit ( $ limit ) ; }
Format the limit and offset.

@param int $limit
@param int $offset
@return string
Format the limit and offset .