/** * Define so called "request" parameters * We do not store the tag, substring parameters if clearing condition is provided * * @return void */ protected function defineRequestParams() { parent::defineRequestParams(); $request = \XLite\Core\Request::getInstance(); if (!$request->clearSearch) { $this->requestParams[] = static::PARAM_SUBSTRING; } if (!$request->clearCnd) { $this->requestParams[] = static::PARAM_TAG; $this->requestParams[] = static::PARAM_VENDOR; $this->requestParams[] = static::PARAM_PRICE; } }
/** * Define so called "request" parameters * * @return void */ protected function defineRequestParams() { parent::defineRequestParams(); $this->requestParams[] = self::PARAM_PRICE_FILTER; $this->requestParams[] = self::PARAM_SUBSTRING; }