Back to index

plone3  3.1.7
Classes | Functions | Variables
plone.session.plugins.session Namespace Reference

Classes

class  SessionPlugin

Functions

def postonly
def manage_addSessionPlugin

Variables

tuple manage_addSessionPluginForm = PageTemplateFile('session', globals())

Function Documentation

def plone.session.plugins.session.manage_addSessionPlugin (   dispatcher,
  id,
  title = None,
  path = '/',
  REQUEST = None 
)
Add a session plugin.

Definition at line 25 of file session.py.

00025 
00026 def manage_addSessionPlugin(dispatcher, id, title=None, path='/', REQUEST=None):
00027     """Add a session plugin."""
00028     sp=SessionPlugin(id, title=title, path=path)
00029     dispatcher._setObject(id, sp)
00030 
00031     if REQUEST is not None:
00032         REQUEST.RESPONSE.redirect('%s/manage_workspace?'
00033                                'manage_tabs_message=Session+plugin+created.' %
00034                                dispatcher.absolute_url())
00035 
00036 

Here is the caller graph for this function:

Definition at line 15 of file session.py.

00015 
00016     def postonly(func):
00017         return func
00018 
# Temporary imports

Here is the caller graph for this function:


Variable Documentation

tuple plone.session.plugins.session.manage_addSessionPluginForm = PageTemplateFile('session', globals())

Definition at line 22 of file session.py.