protected function storeOriginalLimit()
    {
        if (isset($this->params[1]['limit'])) {
            $this->originalLimit = $this->params[1]['limit'];
        }

        if ($this->originalLimit > self::DOCUMENT_LIMIT) {
            $this->limit(self::DOCUMENT_LIMIT);
        }
    }
protected function storeOriginalLimit()
    {
        if (isset($this->params[1]['limit'])) {
            $this->originalLimit = $this->params[1]['limit'];
        }

        if ($this->originalLimit > self::DOCUMENT_LIMIT) {
            $this->limit(self::DOCUMENT_LIMIT);
        }
    }
protected function storeOriginalLimit ( ) { if ( isset ( $ this -> params [ 1 ] [ 'limit' ] ) ) { $ this -> originalLimit = $ this -> params [ 1 ] [ 'limit' ] ; } if ( $ this -> originalLimit > self :: DOCUMENT_LIMIT ) { $ this -> limit ( self :: DOCUMENT_LIMIT ) ; } }
Stores the original "limit" clause of the query.
Stores the original limit clause of the query .