]> git.mxchange.org Git - friendica.git/blobdiff - doc/Plugins.md
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / doc / Plugins.md
index 49d0665fec9efd2e277816769bd6cfb0b1c09e76..6460fd5a09459bf6fe57f3dcf1fab6403de1b2de 100644 (file)
@@ -77,9 +77,9 @@ This will include:
     $a->argc = 3
     $a->argv = array(0 => 'plugin', 1 => 'arg1', 2 => 'arg2');
 
-Your module functions will often contain the function plugin_name_content(&$a), which defines and returns the page body content.
-They may also contain plugin_name_post(&$a) which is called before the _content function and typically handles the results of POST forms.
-You may also have plugin_name_init(&$a) which is called very early on and often does module initialisation.
+Your module functions will often contain the function plugin_name_content(App &$a), which defines and returns the page body content.
+They may also contain plugin_name_post(App &$a) which is called before the _content function and typically handles the results of POST forms.
+You may also have plugin_name_init(App &$a) which is called very early on and often does module initialisation.
 
 Templates
 ---