List Sub-Pages for Extension

  • Hi,

    I want to develop a new extension that lists all the-subpages of a specific page (just the direct descendent for the time being). How do I get in PHP the list of the sub-pages (Title/Menu plus the link to those pages) the current user is actually permissioned to see?

    Thanks a lot for your help,