I have code like that:
<?php
class AppError extends ErrorHandler {
function missing_action(){
$s=$this->controller->sesionCheck(0);
$m = $this->controller->menu($s);
$this->controller->set('menu', $m);
}
}
?>
where sessionCheck() and menu() are AppController methods. When i'm
trying do that in error pages there is only showed default with out
menu. In controllers it works fine. What i'm doing wrong?
And one thing. Menu is displayed in default layout.
--
Cheers
Dominik
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment