Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
CMFDefault.NewsItem.NewsItem Class Reference
Inheritance diagram for CMFDefault.NewsItem.NewsItem:
Inheritance graph
Collaboration diagram for CMFDefault.NewsItem.NewsItem:
Collaboration graph

List of all members.

Public Member Functions

def edit

Static Public Attributes

string text_format = 'html'
tuple security = ClassSecurityInfo()

Static Private Attributes

 __implements__ = Document.__implements__

Detailed Description

A News Item.

Definition at line 47 of file

Member Function Documentation

def CMFDefault.NewsItem.NewsItem.edit (   self,
  description = None,
  text_format = None 
Edit the News Item.

Definition at line 60 of file

00061     def edit( self, text, description=None, text_format=None ):
00062         """Edit the News Item.
00063         """
00064         if text_format is None:
00065             text_format = getattr(self, 'text_format', 'structured-text')
00066         if description is not None:
00067             self.setDescription( description )
00068         Document.edit( self, text_format, text )
00070 InitializeClass(NewsItem)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

CMFDefault.NewsItem.NewsItem.__implements__ = Document.__implements__ [static, private]

Definition at line 53 of file

tuple = ClassSecurityInfo() [static]

Definition at line 57 of file

string CMFDefault.NewsItem.NewsItem.text_format = 'html' [static]

Definition at line 55 of file

The documentation for this class was generated from the following file: