PAGE Methods

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