protected function getRedirectStatusCode($objPage) { return $objPage->redirect == 'temporary' ? 302 : 301; }