* Extend this method if you need to do any shared processing before both
* content() or post()
*/
- public static function init()
+ public static function init(array $parameters = [])
{
}
* Extend this method if the module is supposed to return communication data,
* e.g. from protocol implementations.
*/
- public static function rawContent()
+ public static function rawContent(array $parameters = [])
{
// echo '';
// exit;
*
* @return string
*/
- public static function content()
+ public static function content(array $parameters = [])
{
$o = '';
* Extend this method if the module is supposed to process POST requests.
* Doesn't display any content
*/
- public static function post()
+ public static function post(array $parameters = [])
{
// $a = self::getApp();
// $a->internalRedirect('module');
*
* Unknown purpose
*/
- public static function afterpost()
+ public static function afterpost(array $parameters = [])
{
-
}
/*
throw new \Friendica\Network\HTTPException\ForbiddenException();
}
}
-
- /**
- * @return App\Arguments
- */
- protected static function getArgs()
- {
- return self::getApp()->getArgs();
- }
}