Back to index

plone3  3.1.7
Namespaces | Functions | Variables
livesearch_reply.py File Reference

Go to the source code of this file.

Namespaces

namespace  livesearch_reply

Functions

def livesearch_reply.quotestring
def livesearch_reply.quote_bad_chars
def livesearch_reply.write

Variables

tuple livesearch_reply.ploneUtils = getToolByName(context, 'plone_utils')
tuple livesearch_reply.portal_url = getToolByName(context, 'portal_url')
 livesearch_reply.pretty_title_or_id = ploneUtils.pretty_title_or_id
tuple livesearch_reply.plone_view = context.restrictedTraverse('@@plone')
tuple livesearch_reply.portalProperties = getToolByName(context, 'portal_properties')
tuple livesearch_reply.siteProperties = getattr(portalProperties, 'site_properties', None)
list livesearch_reply.useViewAction = []
 livesearch_reply.USE_ICON = True
 livesearch_reply.USE_RANKING = False
int livesearch_reply.MAX_TITLE = 29
int livesearch_reply.MAX_DESCRIPTION = 93
 livesearch_reply.catalog = context.portal_catalog
tuple livesearch_reply.friendly_types = ploneUtils.getUserFriendlyTypes()
tuple livesearch_reply.q = q.replace(char, ' ')
 q = re.compile(r'[*\?-+]+').sub(' ', q)
tuple livesearch_reply.r = q.split()
tuple livesearch_reply.searchterms = url_quote_plus(r)
tuple livesearch_reply.site_encoding = context.plone_utils.getSiteEncoding()
tuple livesearch_reply.path = getNavigationRoot(context)
tuple livesearch_reply.results = catalog(SearchableText=r, portal_type=friendly_types, path=path)
string livesearch_reply.searchterm_query = '?searchterm=%s'
 livesearch_reply.RESPONSE = context.REQUEST.RESPONSE
tuple livesearch_reply.legend_livesearch = _('legend_livesearch', default='LiveSearch ↓')
tuple livesearch_reply.label_no_results_found = _('label_no_results_found', default='No matching results found.')
tuple livesearch_reply.label_advanced_search = _('label_advanced_search', default='Advanced Search…')
tuple livesearch_reply.label_show_all = _('label_show_all', default='Show all…')
tuple livesearch_reply.ts = getToolByName(context, 'translation_service')
list livesearch_reply.output = []
tuple livesearch_reply.icon = plone_view.getIcon(result)
tuple livesearch_reply.itemUrl = result.getURL()
tuple livesearch_reply.full_title = safe_unicode(pretty_title_or_id(result))
string livesearch_reply.display_title = ''