maybe use $conditions parameter of generatetreelist?

http://book.cakephp.org/view/228/Basic-Usage#generatetreelist-517

On Jul 13, 8:07 am, rocket <[email protected]> wrote:
> I have a standard categories, and products, and am using the Tree
> behvaiour for the Category model.
>
> For example I have:
>
> +Electronics
> --- Television
> ------ SONY
> ------ Panasonic
> --- Computer
> ------ Dell
> ------ Apple
>
> I simply want to know how to pull all the inventory from a particular
> sub-category. Like I want to see all the items in Electronics, or all
> the items in Computer.
>
> Is there a built in function to do this? I couldn't find one.
>
> cheers
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to