Back to index

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

List of all members.

Public Member Functions

def __init__
def title
def id
def available
def data

Public Attributes

 count
 state

Detailed Description

Definition at line 34 of file events.py.


Constructor & Destructor Documentation

def plone.app.portlets.portlets.events.Assignment.__init__ (   self,
  count = 5,
  state = ('published', 
)

Definition at line 37 of file events.py.

00037 
00038     def __init__(self, count=5, state=('published', )):
00039         self.count = count
00040         self.state = state

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:

Reimplemented from plone.app.portlets.portlets.base.Assignment.

Definition at line 42 of file events.py.

00042 
00043     def title(self):
00044         return _(u"Events")

Here is the caller graph for this function:


Member Data Documentation

Definition at line 38 of file events.py.

Definition at line 39 of file events.py.


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