API:isFrontend

From MODx Wiki

Jump to: navigation, search
 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.

Examples

Related Functions

Function Source

Notes

Personal tools