Exemplo n.º 1
0
 /**
  * Constructor.
  *
  * @param vB_Registry $registry				- Reference to the vBulletin registry
  * @param array $linkinfo					- Info about the link, the id, title etc
  * @param array $pageinfo					- Additional info about the required request; pagenumber and query string
  * @param string $idkey						- Override the key in $linkinfo for the resource id
  * @param string $titlekey					- Override the key in $linkinfo for the resource title
  * @param int $urloptions					- Bitfield of environment options SEO_NOSESSION, SEO_JS, etc
  */
 protected function __construct(&$registry, array $linkinfo = null, array $pageinfo = null, $idkey = false, $titlekey = false, $urloptions = 0)
 {
     $this->idvar = $this->ignorelist[] = $registry->options['route_requestvar'];
     $this->script = basename(SCRIPT);
     list($this->rewrite_segment) = explode('.', $this->script);
     parent::__construct($registry, $linkinfo, $pageinfo, $idkey, $titlekey, $urloptions);
 }