API:documentListing
API Quick reference
|
Description
Contains the document Listing (tree) like the sitemap
Usage / Examples
<?php echo ( '<pre>' ); print_r($modx->documentListing); echo ( '</pre>' ); die; ?>
Related
See also, this page on Understanding the Document Object
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
)