Package bodhi :: Module search :: Class SearchController
[hide private]
[frames] | no frames]

Class SearchController

source code

                       object --+    
                                |    
turbogears.controllers.Controller --+
                                    |
                                   SearchController

Instance Methods [hide private]
 
index(self, search=None, tg_errors=None, *args, **kw) source code
 
default(self, search, *args, **kw) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

index(self, search=None, tg_errors=None, *args, **kw)

source code 
Decorators:
  • @identity.require(identity.not_anonymous())
  • @expose(template= "bodhi.templates.form")

default(self, search, *args, **kw)

source code 
Decorators:
  • @expose(template= "bodhi.templates.list")
  • @identity.require(identity.not_anonymous())
  • @validate(validators= {"search": validators.UnicodeString()})
  • @error_handler(index)
  • @paginate('updates', default_order= 'update_id', limit= 15)