PAGE Methods
Including templates and objects
content(), module(), object()Request content via AJAX
collect(), complete(), elements(), element()Insert code (CSS, JS, HTML)
style(), script(), meta(), bottom(), tracking()Template data
directory(), views(), details(), preview(), charset(), language(), error()Reading and writing META data
title(), topic(), descr(), claim(), robots(), keywords()HTTP header
mime(), status(), expires(), header(), download()
modus()
The modus operandi of the current page. This can be the PREVIEW, DEBUG or MONITOR MODE
int modus()
Return
1 = PREVIEW MODE
2 = DEBUG MODE
3 = MONITOR MODE
Get current output mode
$PAGE->modus()
RETURN: 0