Back to index

plone3  3.1.7
_templatemixin.py
Go to the documentation of this file.
00001 from zope.interface import Interface, Attribute
00002 
00003 class ITemplateMixin(Interface):
00004     """Marker interface for TemplateMixin
00005     """
00006 
00007     default_view = Attribute('')
00008     suppl_views = Attribute('')
00009 
00010     def getLayout():
00011         """
00012         @return string for current layout 
00013         """
00014 
00015     def getDefaultLayout():
00016         """
00017         @return string for default layout
00018         """
00019 
00020     def getTemplateFor(pt, default='base_view'):
00021         """
00022         """