I have no idea.
I tried many things and nothing works.
For exampple:
$this->Item->find("all", array("fields" => array("Item.id",
"Item.thumb"),
"contain" => array(
"ItemContent" => array(
"conditions" => array("ItemContent.language_id" => $this-
>language_id),
"fields" => array( "ItemContent.name",
"ItemContent.description", "ItemContent.url")))
));
I'll have to use $this->Model->query() but then I won't be able to
paginate it.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---