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

Olivier Berger olberger at fusionforge.org
Fri Aug 26 12:54:34 CEST 2011


Author: olberger
Date: 2011-08-26 12:54:34 +0200 (Fri, 26 Aug 2011)
New Revision: 14245

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

Modified: trunk/src/docs/README.Plugins
===================================================================
--- trunk/src/docs/README.Plugins	2011-08-26 09:46:57 UTC (rev 14244)
+++ trunk/src/docs/README.Plugins	2011-08-26 10:54:34 UTC (rev 14245)
@@ -484,6 +484,16 @@
   Description: what GFUser is logged in?
                it returns a user object in passed $params['results']
 
+  Hook Name  : widgets
+  Parameters : $params['owner_type'] == WidgetLayoutManager::OWNER_TYPE_GROUP or WidgetLayoutManager::OWNER_TYPE_USER
+  Description: appends to $params['fusionforge_widgets'] (or 'codendi_widgets') names 
+  			   of widgets it provides depending on the project home or user home context
+
+  Hook Name  : widget_instance
+  Parameters : $params['widget'] provides the widget name
+  Description: returns in $params['instance'] an instance of the new Widget subclass
+
+
 TODO: document content_negociated_user_home and content_negociated_project_home
 
 TODO (nerville) : document display_hierarchy




More information about the Fusionforge-commits mailing list