Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFDefault.NewsItem Namespace Reference

Classes

class  NewsItem

Functions

def addNewsItem

Variables

tuple NewsItemFactory = Factory(NewsItem)

Function Documentation

def CMFDefault.NewsItem.addNewsItem (   self,
  id,
  title = '',
  description = '',
  text = '',
  text_format = '' 
)
Add a NewsItem.

Definition at line 35 of file NewsItem.py.

00035 
00036                ):
00037     """Add a NewsItem.
00038     """
00039     o=NewsItem( id=id
00040               , title=title
00041               , description=description
00042               , text=text
00043               , text_format=text_format
00044               )
00045     self._setObject(id, o)
00046 


Variable Documentation

Definition at line 71 of file NewsItem.py.