public function generate($objPage) { $this->redirect($this->replaceInsertTags($objPage->url, false), $this->getRedirectStatusCode($objPage)); }