[TYPO3-mvc] Retrieving all items assigned to a hierarchy for a given entry point

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Fri Jan 29 23:38:10 CET 2010


Good evening!

Whats the fastest and less resource needing method to
get all items, which are assigned to multiple other items,
which build a hierarchy.

It could be kinda compared to content elements assigned to pages:

Page 1
Page 2
   Page 3
     Item 1
     Item 2
     Page 4
       Item 3
       Item 4
   Page 4
    Item 5
    Item 6

Now I'd like to fetch all items under page '2',
items 1-6 should get returned.

Is there an easy way doing this the Extbase way,
or do I need to loop through all pages and get the items?

Thanks a lot,
Thomas


More information about the TYPO3-project-typo3v4mvc mailing list