documentContent

Skip to end of metadata
Go to start of metadata

API:documentContent

API Quick reference
Variable name: documentContent
Modx versions: 0.9.x + Evolution
Variable type: int
Object parent: DocumentParser

Description

Contains the [*content*] of the page being viewed.

Usage / Examples

<?php
echo ( $modx->documentContent ); // note that executing this code inside the [*content*] field will cause a loop.
?>

Related

Notes

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.