Back to index

plone3  3.1.7
Public Member Functions | Public Attributes Class Reference

List of all members.

Public Member Functions

def __init__
def macros
def __call__

Public Attributes


Detailed Description

A named template adapter implementation that has the ability
to lookup the template portion from regular traversal (intended for
being able to customize the template portion of a view component
in the traditional portal_skins style).

Definition at line 6 of file

Constructor & Destructor Documentation

Definition at line 15 of file

00016     def __init__(self, context):
00017         self.context = context

Here is the caller graph for this function:

Member Function Documentation

def (   self,

Definition at line 22 of file

00023     def __call__(self, *args, **kwargs):
00024         context = aq_inner(self.context)
00025         context_of_context = aq_inner(context.context)
00026         view = context.__of__(context_of_context)
00027         return self.default_template.__of__(view)(*args, **kwargs)

Here is the caller graph for this function:

Definition at line 19 of file

00020     def macros (self):
00021         return self.default_template.macros

Member Data Documentation

Definition at line 16 of file

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