Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFTopic.Topic Namespace Reference

Classes

class  Topic

Functions

def addTopic

Variables

tuple TopicFactory = Factory(Topic)

Function Documentation

def CMFTopic.Topic.addTopic (   self,
  id,
  title = '',
  REQUEST = None 
)
Create an empty topic.

Definition at line 37 of file Topic.py.

00037 
00038 def addTopic(self, id, title='', REQUEST=None):
00039     """ Create an empty topic.
00040     """
00041     topic = Topic( id )
00042     topic.id = id
00043     topic.title = title
00044     self._setObject( id, topic )
00045 
00046     if REQUEST is not None:
00047         REQUEST['RESPONSE'].redirect( 'manage_main' )
00048 


Variable Documentation

Definition at line 222 of file Topic.py.