コード例 #1
0
 /**
  * Generates a page which shows an "access forbidden" message, prompting the user to
  * authenticate first using the login page.
  * @private
  */
 function mustAuthenticatePage()
 {
     $view = new AdminDefaultView();
     $locale = $this->getLocale();
     $view->setErrorMessage($locale->tr("error_access_forbidden"));
     return $view->render();
 }