Back to index

plone3  3.1.7
Public Member Functions
plone.portlets.interfaces.IPortletRetriever Class Reference
Inheritance diagram for plone.portlets.interfaces.IPortletRetriever:
Inheritance graph
[legend]
Collaboration diagram for plone.portlets.interfaces.IPortletRetriever:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getPortlets

Detailed Description

A component capable of discovering portlets assigned to it for rendering.

Typically, a content object and an IPortletManager will be multi-
adapted to IPortletRetriever.

Definition at line 163 of file interfaces.py.


Member Function Documentation

A component capable of discovering portlets assigned to it for rendering.

Typically, a content object and an IPortletManager will be multi-
adapted to IPortletRetriever.
Return a list of IPortletAssignment's to be rendered.

Returns a list of dicts with keys 'assignment', containing the actual
assignment object; 'category', containing the category the 
assignment came from; 'key', being the key within this category; and
'name' being the name of the assignment.

Definition at line 170 of file interfaces.py.

00170 
00171     def getPortlets():
00172         """Return a list of IPortletAssignment's to be rendered.
00173         
00174         Returns a list of dicts with keys 'assignment', containing the actual
00175         assignment object; 'category', containing the category the 
00176         assignment came from; 'key', being the key within this category; and
00177         'name' being the name of the assignment.
00178         """
00179 
00180 # Portlet managment


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