You can use the model callbacks for that, the beforesave one, see:
http://book.cakephp.org/2.0/en/models/callback-methods.html#beforesave 


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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to