Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
plone.app.layout.nextprevious.view.NextPreviousViewlet Class Reference
Inheritance diagram for plone.app.layout.nextprevious.view.NextPreviousViewlet:
Inheritance graph
[legend]
Collaboration diagram for plone.app.layout.nextprevious.view.NextPreviousViewlet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def next
def previous
def enabled
def isViewTemplate

Static Public Attributes

tuple render = ZopeTwoPageTemplateFile('nextprevious.pt')

Detailed Description

Definition at line 49 of file view.py.


Member Function Documentation

Definition at line 31 of file view.py.

00031 
00032     def enabled(self):
00033         provider = self._provider()
00034         if provider is None:
00035             return False
00036         return provider.enabled

Here is the call graph for this function:

Definition at line 44 of file view.py.

00044 
00045     def isViewTemplate(self):
00046         plone = getMultiAdapter((self.context, self.request), name=u'plone_context_state')
00047         return plone.is_view_template()
00048 

Here is the call graph for this function:

Definition at line 17 of file view.py.

00017 
00018     def next(self):
00019         provider = self._provider()
00020         if provider is None:
00021             return None
00022         return provider.getNextItem(aq_inner(self.context))
    

Here is the call graph for this function:

Definition at line 24 of file view.py.

00024 
00025     def previous(self):
00026         provider = self._provider()
00027         if provider is None:
00028             return None
00029         return provider.getPreviousItem(aq_inner(self.context))

Here is the call graph for this function:


Member Data Documentation

tuple plone.app.layout.nextprevious.view.NextPreviousViewlet.render = ZopeTwoPageTemplateFile('nextprevious.pt') [static]

Definition at line 50 of file view.py.


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