Back to index

plone3  3.1.7
Static Public Attributes
plone.portlet.collection.collection.ICollectionPortlet Class Reference
Inheritance diagram for plone.portlet.collection.collection.ICollectionPortlet:
Inheritance graph
[legend]
Collaboration diagram for plone.portlet.collection.collection.ICollectionPortlet:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

tuple header
tuple target_collection
tuple limit
tuple random
tuple show_more
tuple show_dates

Detailed Description

A portlet which renders the results of a collection object.

Definition at line 24 of file collection.py.


Member Data Documentation

Initial value:
schema.TextLine(title=_(u"Portlet header"),
                             description=_(u"Title of the rendered portlet"),
                             required=True)

Definition at line 28 of file collection.py.

Initial value:
schema.Int(title=_(u"Limit"),
                       description=_(u"Specify the maximum number of items to show in the portlet. "
                                       "Leave this blank to show all items."),
                       required=False)

Definition at line 38 of file collection.py.

Initial value:
schema.Bool(title=_(u"Select random items"),
                         description=_(u"If enabled, items will be selected randomly from the collection, "
                                        "rather than based on its sort order."),
                         required=True,
                         default=False)

Definition at line 43 of file collection.py.

Initial value:
schema.Bool(title=_(u"Show dates"),
                       description=_(u"If enabled, effective dates will be shown underneath the items listed."),
                       required=True,
                       default=False)

Definition at line 55 of file collection.py.

Initial value:
schema.Bool(title=_(u"Show more... link"),
                       description=_(u"If enabled, a more... link will appear in the footer of the portlet, "
                                      "linking to the underlying Collection."),
                       required=True,
                       default=True)

Definition at line 49 of file collection.py.

Initial value:
schema.Choice(title=_(u"Target collection"),
                                  description=_(u"Find the collection which provides the items to list"),
                                  required=True,
                                  source=SearchableTextSourceBinder({'object_provides' : IATTopic.__identifier__},
                                                                    default_query='path:'))

Definition at line 32 of file collection.py.


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