documentMethod

Last edited by JP DeVries on Aug 10, 2013.

API:documentMethod

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

Description

Contains the document method of the page being viewed.

Usage / Examples

<?php
echo ( $modx->documentMethod );
?>

Notes

Should contain alias, id or none.

Suggest an edit to this page on GitHub (Requires GitHub account. Opens a new window/tab).