Back to index

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

List of all members.

Public Member Functions

def id
def title
def available
def data

Static Private Attributes

string __name__ = ''

Detailed Description

Base class for assignments.

Your type may override the 'title', 'available' and 'data' properties, and
may 

Definition at line 28 of file base.py.


Member Function Documentation

def plone.app.portlets.portlets.base.Assignment.available (   self,
  context,
  request 
)
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 37 of file base.py.


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