Do you mean that you only want that one model to implement it? Yes,
you can do that. The syntax is exactly the same as with AppModel:

var $actsAs = array('Containable');

or (PHP5 only)

public $actsAs = array('Containable');



On Fri, Sep 25, 2009 at 1:46 PM, lorenx <lor...@gmail.com> wrote:
>
> hi all.
>
> is it possible to set the containable behaviour of a model in its
> model file?
> just to set it once, staticly... maybe with the ability to change it
> on the fly when needed...
>
> thanks
> >
>

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to