Back to index

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

List of all members.

Public Member Functions

def create

Static Public Attributes

tuple form_fields = form.Fields(ICollectionPortlet)
tuple label = _(u"Add Collection Portlet")
tuple description = _(u"This portlet display a listing of items from a Collection.")

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 194 of file

Member Function Documentation

Definition at line 207 of file

00208     def create(self, data):
00209         return Assignment(**data)

Here is the caller graph for this function:

Member Data Documentation

tuple plone.portlet.collection.collection.AddForm.description = _(u"This portlet display a listing of items from a Collection.") [static]

Definition at line 205 of file

Definition at line 201 of file

tuple plone.portlet.collection.collection.AddForm.label = _(u"Add Collection Portlet") [static]

Definition at line 204 of file

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