Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
plone.app.portlets.portlets.navigation.Assignment Class Reference
Inheritance diagram for plone.app.portlets.portlets.navigation.Assignment:
Inheritance graph
[legend]
Collaboration diagram for plone.app.portlets.portlets.navigation.Assignment:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def id
def title
def available
def data

Public Attributes

 name
 topLevel
 bottomLevel

Static Public Attributes

tuple title = _(u'Navigation')
string name = u""
 root = None
 currentFolderOnly = False
 includeTop = False
int topLevel = 1
int bottomLevel = 0

Detailed Description

Definition at line 98 of file navigation.py.


Constructor & Destructor Documentation

def plone.app.portlets.portlets.navigation.Assignment.__init__ (   self,
  name = u"",
  root = None,
  currentFolderOnly = False,
  includeTop = False,
  topLevel = 1,
  bottomLevel = 0 
)

Definition at line 110 of file navigation.py.

00110 
00111     def __init__(self, name=u"", root=None, currentFolderOnly=False, includeTop=False, topLevel=1, bottomLevel=0):
00112         self.name = name
00113         self.root = root
00114         self.currentFolderOnly = currentFolderOnly
00115         self.includeTop = includeTop
00116         self.topLevel = topLevel
00117         self.bottomLevel = bottomLevel

Here is the caller graph for this function:


Member Function Documentation

def plone.app.portlets.portlets.base.Assignment.available (   self,
  context,
  request 
) [inherited]
By default, this portlet is always available

Definition at line 47 of file base.py.

00047 
00048     def available(self, context, request):
00049         """By default, this portlet is always available
00050         """
00051         return True

Make the assignment itself represent the data object that is being rendered.

Definition at line 53 of file base.py.

00053 
00054     def data(self):
00055         """Make the assignment itself represent the data object that is being rendered.
00056         """
00057         return self

Here is the caller graph for this function:

Definition at line 40 of file base.py.

00040 
00041     def id(self):
00042         return getattr(self, '__name__', '')
    

Here is the caller graph for this function:


Member Data Documentation

Definition at line 108 of file navigation.py.

Definition at line 116 of file navigation.py.

Definition at line 105 of file navigation.py.

Definition at line 106 of file navigation.py.

Definition at line 103 of file navigation.py.

Definition at line 111 of file navigation.py.

Definition at line 104 of file navigation.py.

Definition at line 101 of file navigation.py.

Definition at line 107 of file navigation.py.

Definition at line 115 of file navigation.py.


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