Tuesday, August 31, 2010

Re: Question about I18n and relation

> $this->Category->recursive = -1:
> $category = $this->Category->read(null, $id)
> $items = $this->Category->Item->find('all', array('conditions' =>  
> array('category_id' => $id)));

Thank you for this tips, it runs very well (even if it is a few more
slow and weighty)

Best regards.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: