Back to index

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

List of all members.

Public Member Functions

def getCriteriaItems

Static Public Attributes

tuple security = ClassSecurityInfo()
 schema = ATSortCriterionSchema
string meta_type = 'ATSortCriterion'
string archetype_name = 'Sort Criterion'
string shortDesc = 'Sort'

Static Private Attributes

tuple __implements__ = ATBaseCriterion.__implements__+(IATTopicSortCriterion, )

Detailed Description

A sort criterion

Definition at line 55 of file sort.py.


Member Function Documentation

Definition at line 66 of file sort.py.

00066 
00067     def getCriteriaItems(self):
00068         result = [('sort_on', self.Field())]
00069 
00070         if self.getReversed():
00071             result.append(('sort_order', 'reverse'))
00072 
00073         return tuple(result)
00074 
00075 registerCriterion(ATSortCriterion, SORT_INDICES)

Here is the call graph for this function:


Member Data Documentation

tuple ATContentTypes.criteria.sort.ATSortCriterion.__implements__ = ATBaseCriterion.__implements__+(IATTopicSortCriterion, ) [static, private]

Definition at line 58 of file sort.py.

Definition at line 62 of file sort.py.

Definition at line 61 of file sort.py.

Definition at line 60 of file sort.py.

tuple ATContentTypes.criteria.sort.ATSortCriterion.security = ClassSecurityInfo() [static]

Definition at line 59 of file sort.py.

Definition at line 63 of file sort.py.


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