Re: Change model behavior in controller
In most cases look at book.cakephp.org:
http://book.cakephp.org/view/1072/Using-Behaviors
On 20 Gru, 15:31, Dobrogor <alexc...@gmail.com> wrote:
> Hi all! I want to change my model behavior, when program is running.
> For example, I have in my model behavior variable like this
> var $actsAs = array('i18n' => array('fields'=>array('header',
> 'preview', 'content')));
>
> But I want change this to null or to delete in some controllers. :)
> Is this possible?
> Thanks
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home