Hi,
> Your able to use beforeFilter() in child classes, as long as you call
> the parent.
>
> function beforeFilter() {
> parent::beforeFilter();
> }
>From the OOP point of view, engine could even use __construct() in
Cake controller as well, but beforeFilter() is of course better for
that...
Re
Well whats the problem of putting it in beforeFilter()? Thats where
its supposed to go.
Your able to use beforeFilter() in child classes, as long as you call
the parent.
function beforeFilter() {
parent::beforeFilter();
}
On Dec 16, 7:30 am, engine wrote:
> i have one app_controller in app/ dir
usability service
--
View this message in context:
http://old.nabble.com/How-to-overload-app-controller-functions-in-child-controller-tp26812948p26812948.html
Sent from the CakePHP mailing list archive at Nabble.com.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their