Back to index

plone3  3.1.7
Namespaces | Variables
search.py File Reference

Go to the source code of this file.

Namespaces

namespace  search

Variables

tuple search.ctool = getToolByName(script, 'portal_catalog')
tuple search.utool = getToolByName(script, 'portal_url')
tuple search.portal_url = utool()
tuple search.epoch = DateTime('1970/01/01 00:00:01 GMT')
dictionary search.options = {}
string search.target = '%s/search'
tuple search.kw = context.REQUEST.form.copy()
tuple search.v = filter(None, v)
tuple search.items = ctool.searchResults(kw)
tuple search.batch_obj = Batch(items, 25, b_start, orphan=1)
 search.length = batch_obj.sequence_length
dictionary search.summary
tuple search.navigation = context.getBatchNavigation(batch_obj, target, **kw)