Back to index

plone3  3.1.7
Classes | Variables
ATContentTypes.criteria.relativepath Namespace Reference

Classes

class  ATRelativePathCriterion

Variables

string __author__ = 'Alec Mitchell, Danny Bloemendaal'
string __docformat__ = 'restructuredtext'
tuple ATRelativePathCriterionSchema

Variable Documentation

string ATContentTypes.criteria.relativepath.__author__ = 'Alec Mitchell, Danny Bloemendaal'

Definition at line 23 of file relativepath.py.

Definition at line 24 of file relativepath.py.

Initial value:
00001 ATBaseCriterionSchema+Schema((
00002     StringField('relativePath',
00003                 default='..',
00004                 widget=StringWidget(label='Relative path', 
00005                                     label_msgid="label_relativepath_criteria_customrelativepath",
00006                                     description_msgid="help_relativepath_criteria_customrelativepath",
00007                                     i18n_domain="plone",
00008                                     description="Enter a relative path e.g.: <br /> '..' for the parent folder <br /> '../..' for the parent's parent <br />'../somefolder' for a sibling folder")),
00009     BooleanField('recurse',
00010                 mode="rw",
00011                 write_permission=ChangeTopics,
00012                 accessor="Recurse",
00013                 default=False,
00014                 widget=BooleanWidget(
00015                     label="Search Sub-Folders",
00016                     label_msgid="label_path_criteria_recurse",
00017                     description="",
00018                     description_msgid="help_path_criteria_recurse",
00019                     i18n_domain="plone"),
00020                 ),
00021     ))

Definition at line 44 of file relativepath.py.