Back to index

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

Classes

class  IScriptablePlugin
class  ScriptablePlugin

Functions

def addScriptablePlugin

Variables

tuple manage_addScriptablePluginForm

Function Documentation

def PluggableAuthService.plugins.ScriptablePlugin.addScriptablePlugin (   dispatcher,
  id,
  title = None,
  REQUEST = None 
)
Add a Scriptable Plugin to a Pluggable Auth Service. 

Definition at line 45 of file ScriptablePlugin.py.

00045 
00046 def addScriptablePlugin( dispatcher, id, title=None, REQUEST=None ):
00047     """ Add a Scriptable Plugin to a Pluggable Auth Service. """
00048 
00049     sp = ScriptablePlugin(id, title)
00050     dispatcher._setObject(sp.getId(), sp)
00051 
00052     if REQUEST is not None:
00053         REQUEST['RESPONSE'].redirect(
00054                                 '%s/manage_workspace'
00055                                 '?manage_tabs_message='
00056                                 'ScriptablePlugin+added.'
00057                             % dispatcher.absolute_url())


Variable Documentation

Initial value:
00001 PageTemplateFile(
00002     'www/spAdd', globals(), __name__='manage_addScriptablePluginForm' )

Definition at line 42 of file ScriptablePlugin.py.