Back to index

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

Classes

class  ILocalRolePlugin
class  LocalRolePlugin

Functions

def addLocalRolePlugin

Variables

tuple manage_addLocalRolePluginForm

Function Documentation

def PluggableAuthService.plugins.LocalRolePlugin.addLocalRolePlugin (   dispatcher,
  id,
  title = '',
  RESPONSE = None 
)
Add a Local Role Plugin to 'dispatcher'.

Definition at line 37 of file LocalRolePlugin.py.

00037 
00038 def addLocalRolePlugin( dispatcher, id, title='', RESPONSE=None ):
00039     """ Add a Local Role Plugin to 'dispatcher'.
00040     """
00041 
00042     lrp = LocalRolePlugin( id, title )
00043     dispatcher._setObject( id, lrp )
00044 
00045     if RESPONSE is not None:
00046         RESPONSE.redirect( '%s/manage_main?manage_tabs_message=%s' %
00047                            ( dispatcher.absolute_url()
00048                            , 'LocalRolePlugin+added.' ) )


Variable Documentation

Initial value:
00001 PageTemplateFile(
00002     'www/lrpAdd', globals(), __name__='manage_addLocalRolePluginForm' )

Definition at line 34 of file LocalRolePlugin.py.