API:documentListing
From MODx Wiki
Contents |
[edit]
documentListing
[edit]
Description
Contains the document Listing (tree) like the sitemap
[edit]
Examples
<?php echo ( '<pre>' ); print_r($modx->documentListing); echo ( '</pre>' ); die; ?>
[edit]
Related
[edit]
Notes
It will contain a list for all url's in your site with the document id's
This example output is friendly url's enabled:
Array ( [content] => id [parent alias] => document id [parent alias/child alias] => document id )
