On Jan 14, 2008 10:42 PM, Jeremi <[EMAIL PROTECTED]> wrote:
>
> I am receiving the warning:
>
> Warning (512): Dispatcher::start - Controller::$beforeFilter property
> usage is deprecated and will no longer be supported. Use
> Controller::beforeFilter(). [CORE/cake/dispatcher.php, line 298]
>
> But I cannot figure out the proper way to use the method, can someone
> please help?
>
Well...
beforeFilter is actually a method for a controller
class FooController extends AppController {
function beforeFilter() {
// do all you beforeFiltery stuff here
}
}
In what context were you using $beforeFilter, as that is something
that I have not seen before.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: "Moving from herding elephants to handling snakes..."
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---