Exemplo n.º 1
0
 /**
  * Checks whether to ignore a pageinfo element when building the uri.
  *
  * @param string $argument					- The argument to check
  * @param bool $skip_pageinfo				- Whether to skip current pageinfo
  * @return bool								- Whether to skip the argument
  */
 protected function skip_query_var($argument, $skip_pageinfo = true)
 {
     if (in_array($argument, array('page', 'pagenumber'))) {
         if ($this->registry->options['friendlyurl'] != FRIENDLY_URL_OFF) {
             return true;
         }
     }
     return parent::skip_query_var($argument, $skip_pageinfo);
 }