Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFCore.CMFBTreeFolder Namespace Reference

Classes

class  CMFBTreeFolder

Functions

def manage_addCMFBTreeFolder

Variables

tuple CMFBTreeFolderFactory = Factory(CMFBTreeFolder)

Function Documentation

def CMFCore.CMFBTreeFolder.manage_addCMFBTreeFolder (   dispatcher,
  id,
  title = '',
  REQUEST = None 
)
Adds a new BTreeFolder object with id *id*.

Definition at line 29 of file CMFBTreeFolder.py.

00029 
00030 def manage_addCMFBTreeFolder(dispatcher, id, title='', REQUEST=None):
00031     """Adds a new BTreeFolder object with id *id*.
00032     """
00033     id = str(id)
00034     ob = CMFBTreeFolder(id)
00035     ob.title = str(title)
00036     dispatcher._setObject(id, ob)
00037     ob = dispatcher._getOb(id)
00038     if REQUEST is not None:
00039         REQUEST['RESPONSE'].redirect(ob.absolute_url() + '/manage_main' )
00040 


Variable Documentation

Definition at line 68 of file CMFBTreeFolder.py.