Back to index

plone3  3.1.7
Classes | Functions | Variables
PlonePAS.plugins.crumbler Namespace Reference

Classes

class  CookieCrumblingPlugin

Functions

def manage_addCookieCrumblingPlugin

Variables

string CC_ID = 'cookie_auth'
tuple manage_addCookieCrumblingPluginForm = DTMLFile("../zmi/CookieCrumblingPluginForm", globals())

Function Documentation

def PlonePAS.plugins.crumbler.manage_addCookieCrumblingPlugin (   self,
  id,
  title = '',
  RESPONSE = None,
  kw 
)
Create an instance of a cookie crumbling plugin.

Definition at line 35 of file crumbler.py.

00035 
00036                                           RESPONSE=None, **kw):
00037     """
00038     Create an instance of a cookie crumbling plugin.
00039     """
00040     self = self.this()
00041 
00042     o = CookieCrumblingPlugin(id, title, **kw)
00043     self._setObject(o.getId(), o)
00044     o = getattr(aq_base(self), id)
00045 
00046     manage_addCC(o, CC_ID)
00047 
00048     if RESPONSE is not None:
00049         RESPONSE.redirect('manage_workspace')

Here is the call graph for this function:


Variable Documentation

string PlonePAS.plugins.crumbler.CC_ID = 'cookie_auth'

Definition at line 32 of file crumbler.py.

tuple PlonePAS.plugins.crumbler.manage_addCookieCrumblingPluginForm = DTMLFile("../zmi/CookieCrumblingPluginForm", globals())

Definition at line 50 of file crumbler.py.