original_string: 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);
          }
      }
code: 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);
          }
      }
code_tokens: 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 ) ; } }
docstring: Stores the original "limit" clause of the query.
docstring_tokens: Stores the original limit clause of the query .