Back to index

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

List of all members.

Public Member Functions

def getAddablePortletTypes
def __call__

Detailed Description

A marker interface for managers for placeless portlets.

A placeless portlet manager is one which does not examine the context
or the context's parent. This is achieved by way of a different adapter
to IPortletRetriever.

Definition at line 275 of file interfaces.py.


Member Function Documentation

def plone.portlets.interfaces.IPortletManager.__call__ (   context,
  request,
  view 
) [inherited]
Act as an adapter factory.

When called, should return an IPortletManagerRenderer for rendering 
this portlet manager and its portlets.

The IPortletManager instance will be registered as a site-local
adapter factory that the component architecture will use when it
looks up adapters in the handler for a TAL provider: expression.

See zope.contentprovider for more.

Definition at line 262 of file interfaces.py.

00262 
00263     def __call__(context, request, view):
00264         """Act as an adapter factory.
00265         
00266         When called, should return an IPortletManagerRenderer for rendering 
00267         this portlet manager and its portlets.
00268         
00269         The IPortletManager instance will be registered as a site-local
00270         adapter factory that the component architecture will use when it
00271         looks up adapters in the handler for a TAL provider: expression.
00272         
00273         See zope.contentprovider for more.
00274         """

Here is the caller graph for this function:

A manager for portlets.

Typically, objects providing this interface will be persisted and used
to manage portlet assignments. 
Get all addable portlet types.

This is achieved by looking up utilities providing IPortletType and
returning those which either have no for_ attribute (globally addable
portlets) or those which specify an interface available on this
portlet manager instance.

Definition at line 253 of file interfaces.py.

00253 
00254     def getAddablePortletTypes():
00255         """Get all addable portlet types.
00256         
00257         This is achieved by looking up utilities providing IPortletType and
00258         returning those which either have no for_ attribute (globally addable
00259         portlets) or those which specify an interface available on this
00260         portlet manager instance.
00261         """
    

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