Package s3 :: Module s3filter :: Class S3HierarchyFilter
[frames] | no frames]

Class S3HierarchyFilter

source code

    object --+    
             |    
S3FilterWidget --+
                 |
                S3HierarchyFilter

Filter widget for hierarchical types

Configuration Options (see also: S3HierarchyWidget):

Instance Methods
 
widget(self, resource, values)
Render this widget as HTML helper object(s)
source code
 
variable(self, resource, get_vars=None)
Generate the name for the URL query variable for this widget, detect alternative __typeof queries.
source code

Inherited from S3FilterWidget: __call__, __init__, data_element

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  operator = "belongs"

Inherited from S3FilterWidget: alternatives

Properties

Inherited from object: __class__

Method Details

widget(self, resource, values)

source code 

Render this widget as HTML helper object(s)

Parameters:
  • resource - the resource
  • values - the search values from the URL query
Overrides: S3FilterWidget.widget

variable(self, resource, get_vars=None)

source code 

Generate the name for the URL query variable for this widget, detect alternative __typeof queries.

Parameters:
  • resource - the resource
Returns:
the URL query variable name (or list of variable names if there are multiple operators)
Overrides: S3FilterWidget.variable

Class Variable Details

operator

Value:
"belongs"