Back to index

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

Classes

class  ATSelectionCriterion

Variables

string __author__ = 'Alec Mitchell'
string __docformat__ = 'restructuredtext'
string __old_name__ = 'Products.ATContentTypes.types.criteria.ATSelectionCriterion'
tuple CompareOperators
tuple ATSelectionCriterionSchema

Variable Documentation

Definition at line 23 of file selection.py.

Definition at line 24 of file selection.py.

string ATContentTypes.criteria.selection.__old_name__ = 'Products.ATContentTypes.types.criteria.ATSelectionCriterion'

Definition at line 25 of file selection.py.

Initial value:
00001 ATBaseCriterionSchema+Schema((
00002     LinesField('value',
00003                 required=1,
00004                 mode="rw",
00005                 write_permission=ChangeTopics,
00006                 accessor="Value",
00007                 mutator="setValue",
00008                 default=[],
00009                 vocabulary="getCurrentValues",
00010                 widget=MultiSelectionWidget(
00011                     label=_(u'label_criteria_values', default=u'Values'),
00012                     description=_(u'help_criteria_values', default=u'Existing values.')
00013                     ),
00014                 ),
00015     StringField('operator',
00016                 required=1,
00017                 mode="rw",
00018                 write_permission=ChangeTopics,
00019                 default='or',
00020                 vocabulary=CompareOperators,
00021                 widget=SelectionWidget(
00022                     label=_(u'label_list_criteria_operator', default=u'operator name'),
00023                     description=_(u'help_list_criteria_operator',
00024                                   default=u'Operator used to join the tests on each value.')
00025                     ),
00026                 ),
00027     ))

Definition at line 52 of file selection.py.

Initial value:
00001 DisplayList((
00002                     ('and', _(u'and'))
00003                   , ('or', _(u'or'))
00004     ))

Definition at line 47 of file selection.py.