7 public function actionError()
9 if ($errorPage = Yii::app()->errorHandler->getErrorDisplayPage()) {
10 $this->redirect($errorPage);
16 public function actionError400()
18 $this->render(
'error', array(
'error_code' => 400));
22 public function actionError403()
24 $this->render(
'error', array(
'error_code' => 403));
28 public function actionError404()
30 $this->render(
'error', array(
'error_code' => 404));
34 public function actionError500()
36 $this->render(
'error', array(
'error_code' => 500));
40 public function actionNoPermissions($path)
42 echo
UserModule::t(
"You don't have permissions to {path}", array(
'{path}' => $path));
43 $contents =
new Content(Yii::app()->getModule(
'contentSource')->getContentSource(), $path);
44 Yii::trace(
'Page Personalisation Attributes: ' . print_r($contents->getPersonalisationAttributes(),
true),
'test');