Re: Acl::check() the $action parameter and the default vals , what does that mean?
anybody? Please help me
2012/11/5 polutan polution at all <linspirell@gmail.com>
Hello folks :)
I don't understand what does $action param and its default values mean? Because i can directly write $this->Acl->check("warriors/Aragorn", "ControllerNames/myMethodName") then it works, i don't need to supply $action param.
Then if i do something like at the manual $this->Acl->check('warriors/Aragorn', 'Weapons', 'create'); which method in my WeaponsController class categorized as 'create' ? .
Then suppose i have reloadAmmunition() method in my WeaponsController class. So what reloadAmmunition() is? a create or read or update or a delete? Please somebody help me, i need your enlightenment.
Thank You :)
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
--
Coklat Stroberi -- Web Dev Training Centre
http://www.facebook.com/pages/Coklat-Stroberi/249514251728226 (info lebih lanjut)
Jl. Raya Padang Luwih (Dalung) No.141 - Telp. (0361) 9006118 atau 08174128301 - Badung, Bali. Sebelah timur traffic light pertigaan perumahan dalung permai.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home