Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
plone.portlet.static.static.Renderer Class Reference

List of all members.

Public Member Functions

def available
def css_class
def has_link
def has_footer

Static Public Attributes

tuple render = ViewPageTemplateFile('')

Detailed Description

Portlet renderer.

This is registered in configure.zcml. The referenced page template is
rendered, and the implicit variable 'view' will refer to an instance
of this class. Other methods can be added and referenced in the template.

Definition at line 95 of file

Member Function Documentation

Definition at line 106 of file

00107     def available(self):
00108         return not

Generate a CSS class from the portlet header

Definition at line 109 of file

00110     def css_class(self):
00111         """Generate a CSS class from the portlet header
00112         """
00113         header =
00114         normalizer = getUtility(IIDNormalizer)
00115         return "portlet-static-%s" % normalizer.normalize(header)

Definition at line 119 of file

00120     def has_footer(self):
00121         return bool(

Definition at line 116 of file

00117     def has_link(self):
00118         return bool(

Member Data Documentation

tuple plone.portlet.static.static.Renderer.render = ViewPageTemplateFile('') [static]

Definition at line 103 of file

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