Hi, I have two models
Properties HasMany Images
Images BelongsTo Properties
In the index controller method I have this code:
$this->Property->recursive = 0;
$this->set('properties', $this->paginate(null, $filters));
But in the array $properties, result of paginate in the view, there
aren't associated model Image...
How can I have the same effect of: this->Property->find('all'); ?
Thanks and sorry for my english ;)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---