Back to index

plone3  3.1.7
Classes | Functions | Variables
PluggableAuthService.plugins.DynamicGroupsPlugin Namespace Reference

Classes

class  IDynamicGroupsPlugin
class  DynamicGroupDefinition
class  DynamicGroupsPlugin
class  _DynamicGroupFilter

Functions

def addDynamicGroupsPlugin

Variables

tuple manage_addDynamicGroupsPluginForm

Function Documentation

def PluggableAuthService.plugins.DynamicGroupsPlugin.addDynamicGroupsPlugin (   dispatcher,
  id,
  title = '',
  RESPONSE = None 
)
Add a DGP to 'dispatcher'.

Definition at line 53 of file DynamicGroupsPlugin.py.

00053 
00054 def addDynamicGroupsPlugin( dispatcher, id, title='', RESPONSE=None ):
00055 
00056     """ Add a DGP to 'dispatcher'.
00057     """
00058     dgp = DynamicGroupsPlugin( id, title )
00059     dispatcher._setObject( id, dgp )
00060 
00061     if RESPONSE is not None:
00062         RESPONSE.redirect( '%s/manage_main?manage_tabs_messsage=%s'
00063                          % ( dispatcher.absolute_url()
00064                            , 'DPG+added.'
00065                            )
00066                          )


Variable Documentation

Initial value:
00001 PageTemplateFile(
00002         'www/dgpAdd', globals(), __name__= 'manage_addDynamicGroupsPluginForm' )

Definition at line 50 of file DynamicGroupsPlugin.py.