protected function setupVars () { parent::setupVars (); $this->searchType = htmlentities ($_GET['type']); $this->permalink = urldecode ($_GET['p']); }