You don't. Check from controller/component and pass the allowed/denied to the view/layout.
On Wed, Apr 9, 2008 at 7:19 AM, . <[EMAIL PROTECTED]> wrote: > hi how do you check acl from the View? ie $acl->check(...) in the view, > instead of controller. How would I check ACL from my layout? thanks > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---