documentListing

API Quick reference
Variable name: documentListing
CMS versions: 0.9.x + Evo
Variable type: array
Object parent:

API:documentListing

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
)

Suggest an edit to this page.