// "rawContent" is especially meant for technical endpoints.
// This endpoint doesn't need any theme initialization or other comparable stuff.
- if (!$a->error && $a->module_class && method_exists($a->module_class, 'rawContent')) {
+ if (!$a->error && $a->module_class) {
call_user_func([$a->module_class, 'rawContent']);
}
*/
public static function init()
{
+ }
+ /**
+ * @brief Module GET method to display raw content from technical endpoints
+ *
+ * Extend this method if the module is supposed to return communication data,
+ * e.g. from protocol implementations.
+ */
+ public static function rawContent()
+ {
}
/**