X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FBaseModule.php;h=1da9397a7833da42e8ab778f8268544c02344f17;hb=fc4d01c0880b965585806ca161d71c3dd477989a;hp=aad4e6fb01dd8df56c91fdf068415937f8f23984;hpb=15a857e4117a5e1e6e092709b3c07614934b09fb;p=friendica.git diff --git a/src/BaseModule.php b/src/BaseModule.php index aad4e6fb01..1da9397a78 100644 --- a/src/BaseModule.php +++ b/src/BaseModule.php @@ -6,7 +6,10 @@ namespace Friendica; * All modules in Friendica should extend BaseModule, although not all modules * need to extend all the methods described here * - * @author Hypolite Petovan mrpetovan@gmail.com + * The filename of the module in src/Module needs to match the class name + * exactly to make the module available. + * + * @author Hypolite Petovan */ abstract class BaseModule extends BaseObject { @@ -18,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() + { } /**