[Fusionforge-commits] r13169 - trunk/src/docs

Olivier Berger olberger at fusionforge.org
Tue Apr 19 21:23:25 CEST 2011


Author: olberger
Date: 2011-04-19 21:23:25 +0200 (Tue, 19 Apr 2011)
New Revision: 13169

Modified:
   trunk/src/docs/README.Plugins
Log:
Add some docs on missing hooks

Modified: trunk/src/docs/README.Plugins
===================================================================
--- trunk/src/docs/README.Plugins	2011-04-19 11:54:01 UTC (rev 13168)
+++ trunk/src/docs/README.Plugins	2011-04-19 19:23:25 UTC (rev 13169)
@@ -450,8 +450,19 @@
   Description: Used to provide plugin specific infos on a group's
                public area.
 
-TODO : document user_logo (plugin_hook_by_reference) : returns in params['content'] 
+  Hook Name  : user_logo
+  Parameters : user_id, size, content (return value)
+  Locations  : common/include/utils.php
+  Description: plugin_hook_by_reference hook used to provide a user
+               picture in params['content'] (see gravatar plugin for instance)
 
+  Hook Name  : user_link_with_tooltip
+  Parameters : username, user_id, user_link (return value)
+  Locations  : common/include/utils.php
+  Description: plugin_hook_by_reference hook used to replace util_display_user()
+               default behaviour, returns value in params['user_link']
+               (see oslc plugin for instance)
+
 TODO : document Auth plugins :
 
   Hook Name  : display_auth_form




More information about the Fusionforge-commits mailing list