Hi,
I have created a simple behavior that can serialize (beforeSave) and
unserialize (afterFind) certain fields of a model.
If I do an action directly on the model like $this->Model->find(...),
I get the unserialized data, but if I catch the Model fields with
containable like $this->OtherModel->contain('Model');$this->OtherModel-
>find(...);, the behavior isn't used at all and I only get the
serialized data.
Is this a problem with my model setup, the containable behavior, or a
general limitation of behaviors?
Thx,
Michael
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---