API:isBackend

From MODx Wiki

Jump to: navigation, search
 API Function Definition: 
isBackend
Versions 
> 0.6.2 ?
Return Values
Success: true
Fail: false
Data Type 
bool
Object Hierarchy 
DocumentParser
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.

Examples

Related Functions

Function Source

Notes

Personal tools