isFrontend

Skip to end of metadata
Go to start of metadata

API:isFrontend

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

Description

bool isFrontend();

Determines if the page being parsed is from the Web (frontend) or manager (backend) view. Returns true if accessed from the web interface. false otherwise.

Usage / Examples

Related

Notes

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