So add the var $actsAs = array(); to the AppModel is your suggestion?
On Apr 5, 4:46 pm, Marcelo Andrade <[email protected]> wrote:
> On Sun, Apr 5, 2009 at 6:01 PM, jsundquist <[email protected]> wrote:
>
> > What is the best way apply a behavior to all models? I have two
> > custom behaviors that I would like to apply to all models. Whats teh
> > best way of getting that done? I know i can apply them to each
> > individual model using $actsAs. Can I apply the same method to the
> > AppModel instead of the individual models?
>
> Yes. Apply the behavior to AppModel.
>
> Best regards.
>
> --
> MARCELO DE F. ANDRADE
> Belem, PA, Amazonia, Brazil
> Linux User #221105
>
> http://mfandrade.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---