|
Well, the CakePHP beforeFilter is named just 'beforeFilter' not
'onBeforeFilter'. But anyway, what you are looking for is parent::onBeforeFilter() which will call the onBeforeFilter() function of the class that is beeing extended. robdeman wrote: Hi all, I have an onBeforeFilter in AppController. Also I have an onBeforeFilter in myCoolController.The problems; the onBeforeFilter in myCoolController overwrites the one in AppController... what to do? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~--- |
- Re: onBeforeFilter in AppController Felix Geisendörfer
