Back to index

plone3  3.1.7
Classes | Variables
Archetypes.TemplateMixin Namespace Reference

Classes

class  TemplateMixin

Variables

tuple TemplateMixinSchema
 schema = TemplateMixinSchema
 getTemplateFor = TemplateMixin.getTemplateFor
tuple __all__ = ('TemplateMixinSchema', 'TemplateMixin', )

Variable Documentation

Definition at line 128 of file TemplateMixin.py.

Definition at line 126 of file TemplateMixin.py.

Definition at line 125 of file TemplateMixin.py.

Initial value:
00001 Schema((
00002     # TemplateMixin
00003     StringField('layout',
00004         write_permission=permissions.ModifyPortalContent,
00005         default_method="getDefaultLayout",
00006         vocabulary="_voc_templates",
00007         widget=SelectionWidget(label = _(u'label_template_mixin',
00008                                          default=u'View template'),
00009                                description=_(u'help_template_mixin',
00010                                              default=u'Choose a template that will be used for viewing this item.'),
00011                                visible={'view' : 'hidden',
00012                                         'edit' : 'visible'},)
00013                ),
00014     ))

Definition at line 15 of file TemplateMixin.py.