Package vita :: Package modules :: Package s3 :: Module s3search :: Class S3SearchMatchWidget
[hide private]
[frames] | no frames]

Class S3SearchMatchWidget

source code

    object --+    
             |    
S3SearchWidget --+
                 |
                S3SearchMatchWidget

String-search widget

Instance Methods [hide private]
 
widget(self, resource, vars)
Returns the widget
source code
 
query(self, resource, value)
Returns a sub-query for this search option
source code

Inherited from S3SearchWidget: __init__, build_master_query

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

widget(self, resource, vars)

source code 

Returns the widget

Parameters:
  • resource - the resource to search in
  • vars - the URL GET variables as dict
Overrides: S3SearchWidget.widget

query(self, resource, value)

source code 

Returns a sub-query for this search option

Parameters:
  • resource - the resource to search in
  • value - the value returned from the widget
Overrides: S3SearchWidget.query