Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
ATContentTypes.criteria.boolean.ATBooleanCriterion Class Reference
Inheritance diagram for ATContentTypes.criteria.boolean.ATBooleanCriterion:
Inheritance graph
[legend]
Collaboration diagram for ATContentTypes.criteria.boolean.ATBooleanCriterion:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getCriteriaItems

Static Public Attributes

tuple security = ClassSecurityInfo()
 schema = ATBooleanCriterionSchema
string meta_type = 'ATBooleanCriterion'
string archetype_name = 'Boolean Criterion'
string shortDesc = 'Boolean (True/False)'

Static Private Attributes

tuple __implements__ = ATBaseCriterion.__implements__+(IATTopicSearchCriterion, )

Detailed Description

A boolean criterion

Definition at line 58 of file boolean.py.


Member Function Documentation

Definition at line 69 of file boolean.py.

00069 
00070     def getCriteriaItems(self):
00071         result = []
00072         if self.getBool():
00073             value = [1,True,'1','True']
00074         else:
00075             value = [0,'',False,'0','False', None, (), [], {}, MV]
00076         result.append((self.Field(), value))
00077 
00078         return tuple( result )
00079 
00080 registerCriterion(ATBooleanCriterion, FIELD_INDICES)

Here is the call graph for this function:


Member Data Documentation

tuple ATContentTypes.criteria.boolean.ATBooleanCriterion.__implements__ = ATBaseCriterion.__implements__+(IATTopicSearchCriterion, ) [static, private]

Definition at line 61 of file boolean.py.

Definition at line 65 of file boolean.py.

Definition at line 64 of file boolean.py.

Definition at line 63 of file boolean.py.

Definition at line 62 of file boolean.py.

string ATContentTypes.criteria.boolean.ATBooleanCriterion.shortDesc = 'Boolean (True/False)' [static]

Definition at line 66 of file boolean.py.


The documentation for this class was generated from the following file: