Back to index

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

Classes

class  ATListCriterion

Variables

string __author__ = 'Christian Heimes <tiran@cheimes.de>'
 ATContentTypes http://plone.org/products/atcontenttypes/ Archetypes reimplementation of the CMF core types.
string __docformat__ = 'restructuredtext'
string __old_name__ = 'Products.ATContentTypes.types.criteria.ATListCriterion'
tuple CompareOperators
tuple ATListCriterionSchema

Variable Documentation

string ATContentTypes.criteria.list.__author__ = 'Christian Heimes <tiran@cheimes.de>'

ATContentTypes http://plone.org/products/atcontenttypes/ Archetypes reimplementation of the CMF core types.

Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved. Copyright (c) 2003-2006 AT Content Types development team

This software is subject to the provisions of the Zope Public License, Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE

Definition at line 21 of file list.py.

string ATContentTypes.criteria.list.__docformat__ = 'restructuredtext'

Definition at line 22 of file list.py.

string ATContentTypes.criteria.list.__old_name__ = 'Products.ATContentTypes.types.criteria.ATListCriterion'

Definition at line 23 of file list.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                 widget=LinesWidget(
00010                     label=_(u'label_list_criteria_value', default=u'Values'),
00011                     description=_(u'help_list_criteria_value',
00012                                   default=u'Values, each on its own line.')
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',
00023                             default=u'operator name'),
00024                     description=_(u'help_list_criteria_operator',
00025                                   default=u'Operator used to join the tests on each value.')
00026                     ),
00027                 ),
00028     ))

Definition at line 49 of file list.py.

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

Definition at line 44 of file list.py.