Wednesday, August 1, 2012

Re: hide model fields from controller

You can use the model callbacks for that, the beforesave one, see:


On Wednesday, August 1, 2012 10:37:29 AM UTC+2, Mahmoud Adel Farid wrote:
well i am worried about controller so no other team member can directly change some fields , i need to encapsulate some fields

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: