X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FBaseModule.php;h=1da9397a7833da42e8ab778f8268544c02344f17;hb=fdc396e197be0f9bd42bd1919a3dd9d157b27386;hp=d0019ccd1c5451bbdbbc203253ee8c9c5caaac76;hpb=88353ce56f0e5da6352af2d999a58bd0c9b375f7;p=friendica.git diff --git a/src/BaseModule.php b/src/BaseModule.php index d0019ccd1c..1da9397a78 100644 --- a/src/BaseModule.php +++ b/src/BaseModule.php @@ -9,7 +9,7 @@ namespace Friendica; * The filename of the module in src/Module needs to match the class name * exactly to make the module available. * - * @author Hypolite Petovan mrpetovan@gmail.com + * @author Hypolite Petovan */ abstract class BaseModule extends BaseObject { @@ -21,7 +21,16 @@ abstract class BaseModule extends BaseObject */ 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() + { } /**