[TYPO3-dev] How to get all subpage UIDs recursively from PID

Kaczmarczyk Gregor kaczmarczyk at rgi.de
Mon Aug 22 14:16:09 CEST 2011


Hi Stefan,

Am 22.08.2011 14:10, schrieb Stefan Galinski:
 > I had the same problem twice in the meanwhile and developed my own 
code to
 > solve this problem. It's not perfect and could be improved, but it 
does it's
 > job if you don't use workspaces.
 >
 > 
https://github.com/sgalinski/rs_fetsy/blob/master/Classes/Domain/Repository/ContextRepository.php
 >

you are just too fast. :)

In your code you are using extbase?
I'm not really into extbase yet.

I've developed the extension with the classic kickstarter.
And the result of the subpage UIDs should be a flat array or a flat list.

Anybody other ideas?

Thanks, Gregor







More information about the TYPO3-dev mailing list