$action = null;
// Is the value set?
- if (isActionSet(($strict) && (getScriptOutputMode() == 0))) {
+ if (isActionSet(($strict) && (isHtmlOutputMode()))) {
// Then use it
$action = $GLOBALS['action'];
} // END - if
return $GLOBALS['is_extension_task'][$content['task_type'] . '_' . $content['infos']];
}
+// Wrapper to check if output mode is CSS
+function isCssOutputMode () {
+ // Determine it
+ return (getScriptOutputMode() == 1);
+}
+
+// Wrapper to check if output mode is HTML
+function isHtmlOutputMode () {
+ // Determine it
+ return (getScriptOutputMode() == 0);
+}
+
+// Wrapper to check if output mode is RAW
+function isRawOutputMode () {
+ // Determine it
+ return (getScriptOutputMode() == -1);
+}
+
// [EOF]
?>