documentIdentifier

Skip to end of metadata
Go to start of metadata

API:documentIdentifier

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

Description

Contains the current document ID of the page being viewed.

Usage / Examples

<?php
echo "Now viewing :".$modx->documentIdentifier;
?>

Related

Notes

Labels

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