isBackend

API:isBackend

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

Description

bool isBackend();

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

Usage / Examples

Notes

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