isFrontend

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

Notes

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