Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
plone.app.iterate.containers.ParentFolderLocator Class Reference
Collaboration diagram for plone.app.iterate.containers.ParentFolderLocator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def available
def __call__

Public Attributes

 context

Static Public Attributes

string title = u"Parent folder"

Detailed Description

Locate the parent of the context, if the user has the
Add portal content permission.

Definition at line 52 of file containers.py.


Constructor & Destructor Documentation

Definition at line 59 of file containers.py.

00059 
00060     def __init__(self, context):
00061         self.context = context
    

Here is the caller graph for this function:


Member Function Documentation

Definition at line 68 of file containers.py.

00068 
00069     def __call__(self):
00070         if not self.available:
00071             return None
00072         return aq_parent(aq_inner(self.context))

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 65 of file containers.py.

00065 
00066     def available(self):
00067         return bool(getSecurityManager().checkPermission(AddPortalContent, aq_inner(self.context)))
        

Here is the caller graph for this function:


Member Data Documentation

Definition at line 60 of file containers.py.

string plone.app.iterate.containers.ParentFolderLocator.title = u"Parent folder" [static]

Definition at line 62 of file containers.py.


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