On Fri, May 30, 2008 at 11:08 AM, TWIOF <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> now that cake 1.2 returns: "beforeFilter property usage is deprecated"
> on
>
> class AppController extends Controller
> {
> #var $components = array('Auth');
> var $beforeFilter = array('funcname');
>
> function funcname()
> {
>
> }
> }
>
> What is the new way of using this type of functionality?
>
function beforeFilter() {
// do whatever was in funcname here
}
--
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
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---