Back to index

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

List of all members.

Public Member Functions

def __init__
def use_macro
def path_expression
def update
def render
def available

Public Attributes

 context
 data
 request
 view
 manager

Static Public Attributes

tuple render = ViewPageTemplateFile('classic.pt')

Detailed Description

Definition at line 35 of file classic.py.


Constructor & Destructor Documentation

def plone.app.portlets.portlets.classic.Renderer.__init__ (   self,
  context,
  request,
  view,
  manager,
  data 
)

Reimplemented from plone.app.portlets.portlets.base.Renderer.

Definition at line 37 of file classic.py.

00037 
00038     def __init__(self, context, request, view, manager, data):
00039         self.context = context
00040         self.data = data

Here is the caller graph for this function:


Member Function Documentation

Definition at line 46 of file classic.py.

00046 
00047     def path_expression(self):
00048         expr = 'context/%s' % self.data.template
00049         if self.use_macro():
00050             expr += '/macros/%s' % self.data.macro
00051         return expr

Here is the call graph for this function:

Reimplemented in plone.app.portlets.portlets.navigation.Renderer, plone.app.portlets.portlets.base.DeferredRenderer, plone.app.portlets.portlets.calendar.Renderer, plone.app.portlets.portlets.events.Renderer, plone.app.portlets.portlets.recent.Renderer, and plone.app.portlets.portlets.news.Renderer.

Definition at line 85 of file base.py.

00085 
00086     def render(self):
00087         raise NotImplementedError("You must implement 'render' as a method "
00088                                   "or page template file attribute")

Definition at line 43 of file classic.py.

00043 
00044     def use_macro(self):
00045         return bool(self.data.macro)

Here is the caller graph for this function:


Member Data Documentation

Reimplemented from plone.app.portlets.portlets.base.Renderer.

Definition at line 38 of file classic.py.

Reimplemented from plone.app.portlets.portlets.base.Renderer.

Definition at line 39 of file classic.py.

Definition at line 79 of file base.py.

tuple plone.app.portlets.portlets.classic.Renderer.render = ViewPageTemplateFile('classic.pt') [static]

Definition at line 41 of file classic.py.

Definition at line 76 of file base.py.

Definition at line 77 of file base.py.


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