On 11/13/06, Mauro Casula <[EMAIL PROTECTED]> wrote:
Hi all, I'm new of Zend Framework.. I need your help. I need to know how can i now what Zend_Controller_Dispatcher_Token i'm going to dispatch in my Index.php. I need to know this because i'm developing an authentication system that will make the following: $controller = Zend_Controller_Front::getInstance(); //AuthenticationController is my authentication class $auth = AuthenticationController::factory($db,$session,$controller); // if i have to authenticate:
I'm not sure if ZF has this yet, but wouldn't some sort of beforeFilter method that gets executed before each action in the controller handle authentication issues? CakePHP has this type of thing, I just don't know if ZF does. -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard
