Back to index

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

List of all members.

Public Member Functions

def setDefaultSorting
def getDefaultSorting
def setSortFolderishFirst
def getSortFolderishFirst
def setSortReverse
def getSortReverse
def setSortAuto
def getSortAuto

Static Private Attributes

tuple _default_sort_key = Attribute('Sort key, default: Title')
tuple _default_sort_reverse = Attribute('Reverse, default: False')
tuple _default_sort_folderish_first = Attribute('Sort folderish first, default: True')
tuple _default_sort_auto = Attribute('Enable auto, default: True')

Detailed Description

Interface for auto sorting

Definition at line 47 of file interfaces.py.


Member Function Documentation

Get default sorting key and direction.

Return sort_on attribute, reverse
sort_on attribute is either an attribute or method name

Definition at line 61 of file interfaces.py.

00061 
00062     def getDefaultSorting():
00063         """Get default sorting key and direction.
00064 
00065         Return sort_on attribute, reverse
00066         sort_on attribute is either an attribute or method name
00067         """

Here is the caller graph for this function:

Get auto sort setting

Definition at line 88 of file interfaces.py.

00088 
00089     def getSortAuto():
00090         """Get auto sort setting
00091         """

Here is the caller graph for this function:

Get the value for sorting folderish objects before ordinary items

Definition at line 72 of file interfaces.py.

00072 
00073     def getSortFolderishFirst():
00074         """Get the value for sorting folderish objects before ordinary items
00075         """

Here is the caller graph for this function:

Get reverse sort setting

Definition at line 80 of file interfaces.py.

00080 
00081     def getSortReverse():
00082         """Get reverse sort setting
00083         """

Set default sorting key and direction.

Definition at line 57 of file interfaces.py.

00057 
00058     def setDefaultSorting(key, reverse=_marker):
00059         """Set default sorting key and direction.
00060         """

Set auto sort setting

Definition at line 84 of file interfaces.py.

00084 
00085     def setSortAuto(value):
00086        """Set auto sort setting
00087        """

Here is the caller graph for this function:

Set the value for sorting folderish objects before ordinary items

Definition at line 68 of file interfaces.py.

00068 
00069     def setSortFolderishFirst(value):
00070         """Set the value for sorting folderish objects before ordinary items
00071         """

Set reverse sort setting

Definition at line 76 of file interfaces.py.

00076 
00077     def setSortReverse(value):
00078         """Set reverse sort setting
00079         """


Member Data Documentation

tuple ATContentTypes.interfaces.IAutoSortSupport._default_sort_auto = Attribute('Enable auto, default: True') [static, private]

Definition at line 55 of file interfaces.py.

tuple ATContentTypes.interfaces.IAutoSortSupport._default_sort_folderish_first = Attribute('Sort folderish first, default: True') [static, private]

Definition at line 53 of file interfaces.py.

tuple ATContentTypes.interfaces.IAutoSortSupport._default_sort_key = Attribute('Sort key, default: Title') [static, private]
Interface for auto sorting

Definition at line 51 of file interfaces.py.

tuple ATContentTypes.interfaces.IAutoSortSupport._default_sort_reverse = Attribute('Reverse, default: False') [static, private]

Definition at line 52 of file interfaces.py.


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