API:isFrontend
From MODx Wiki
API Function Definition:
isFrontend
- Versions
- > 0.6.2 ?
- Return Values
- Success: true
- Fail: false
- Data Type
- bool
- Object Hierarchy
- DocumentParser
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.
[edit]
Examples
[edit]
Related Functions
[edit]
Function Source
[edit]
