Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Private Attributes
plone.app.portlets.browser.manage.ManagePortletsViewlet Class Reference
Inheritance diagram for plone.app.portlets.browser.manage.ManagePortletsViewlet:
Inheritance graph
[legend]
Collaboration diagram for plone.app.portlets.browser.manage.ManagePortletsViewlet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def category
def key
def getAssignmentMappingUrl
def getAssignmentsForManager
def ultimate_parent

Public Attributes

 context
 request
 view
 manager

Private Attributes

 __parent__

Detailed Description

A general base class for viewlets that want to be rendered on the
manage portlets view. This makes it possible to have a viewlet that 
renders a portlet manager, and still have the generic edit manager
renderer work (it doesn't work otherwise, because the edit manager
renderer is registered on IManagePortletsView, but inside a viewlet,
the __parent__ is the viewlet, not the ultimate parent).

Definition at line 228 of file manage.py.


Constructor & Destructor Documentation

def plone.app.portlets.browser.manage.ManagePortletsViewlet.__init__ (   self,
  context,
  request,
  view,
  manager 
)

Definition at line 238 of file manage.py.

00238 
00239     def __init__(self, context, request, view, manager):
00240         super(ManagePortletsViewlet, self).__init__(context, request)
00241         self.__parent__ = view
00242         self.context = context
00243         self.request = request
00244         self.view = view
00245         self.manager = manager
    

Here is the caller graph for this function:


Member Function Documentation

Definition at line 247 of file manage.py.

00247 
00248     def category(self):
00249         return self.ultimate_parent().category
    

Here is the call graph for this function:

Definition at line 254 of file manage.py.

00254 
00255     def getAssignmentMappingUrl(self, manager):
00256         return self.ultimate_parent().getAssignmentMappingUrl(manager)
        

Here is the call graph for this function:

Definition at line 257 of file manage.py.

00257 
00258     def getAssignmentsForManager(self, manager):
00259         return self.ultimate_parent().getAssignmentsForManager(manager)
        

Here is the call graph for this function:

Definition at line 251 of file manage.py.

00251 
00252     def key(self):
00253         return self.ultimate_parent().key
    

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 261 of file manage.py.

00261 
00262     def ultimate_parent(self):
00263         parent = self.__parent__
00264         while parent is not None and hasattr(parent, '__parent__') and parent.__parent__ is not None:
00265             parent = parent.__parent__
00266         return parent
        

Here is the caller graph for this function:


Member Data Documentation

Definition at line 240 of file manage.py.

Definition at line 241 of file manage.py.

Definition at line 244 of file manage.py.

Definition at line 242 of file manage.py.

Definition at line 243 of file manage.py.


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