Hi!
I'm using behavior:
http://bakery.cakephp.org/articles/view/actas-image-column-behavior
So. It's looks like:
Model A actAs ('Image'...)
Model A hasMany Model B
Model B belongsTo Model A
...
So, when I do some thing like Model A->find('all') - all fine.
Behavior work fine, and I get my images as I wanted.
But, when I try to use
$this->Model B->Model A->find('all..).... behavior doesn't work
When I try
$this->Model-B->find(...) behavior doesn't work
Where I'm wrong?
I whant to make select from Model B and getting related Model A with
working behavior... Where is my mistake?
Cake 1.2.3.8166
Help!!!!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---