Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
plone.portlet.static.static.AddForm Class Reference

List of all members.

Public Member Functions

def create

Static Public Attributes

tuple form_fields = form.Fields(IStaticPortlet)
tuple label
tuple description

Detailed Description

Portlet add form.

This is registered in configure.zcml. The form_fields variable tells
zope.formlib which fields to display. The create() method actually
constructs the assignment that is being added.

Definition at line 123 of file static.py.


Member Function Documentation

def plone.portlet.static.static.AddForm.create (   self,
  data 
)

Definition at line 137 of file static.py.

00137 
00138     def create(self, data):
00139         return Assignment(**data)
00140 

Here is the caller graph for this function:


Member Data Documentation

Initial value:
_(u"description_static_portlet",
                    default=u"A portlet which can display static HTML text.")

Definition at line 134 of file static.py.

Definition at line 130 of file static.py.

Initial value:
_(u"title_add_static_portlet",
              default=u"Add static text portlet")

Definition at line 132 of file static.py.


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