Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
plone.app.portlets.portlets.search.Renderer Class Reference
Inheritance diagram for plone.app.portlets.portlets.search.Renderer:
Inheritance graph
[legend]
Collaboration diagram for plone.app.portlets.portlets.search.Renderer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def enable_livesearch
def search_form
def search_action
def update
def render
def available

Public Attributes

 portal_url
 context
 request
 view
 manager
 data

Static Public Attributes

tuple render = ViewPageTemplateFile('search.pt')

Detailed Description

Definition at line 39 of file search.py.


Constructor & Destructor Documentation

def plone.app.portlets.portlets.search.Renderer.__init__ (   self,
  context,
  request,
  view,
  manager,
  data 
)

Reimplemented from plone.app.portlets.portlets.base.Renderer.

Definition at line 43 of file search.py.

00043 
00044     def __init__(self, context, request, view, manager, data):
00045         base.Renderer.__init__(self, context, request, view, manager, data)
00046 
00047         portal_state = getMultiAdapter((context, request), name=u'plone_portal_state')
00048         self.portal_url = portal_state.portal_url()

Here is the caller graph for this function:


Member Function Documentation

Definition at line 49 of file search.py.

00049 
00050     def enable_livesearch(self):
00051         return self.data.enableLivesearch

Reimplemented in plone.app.portlets.portlets.navigation.Renderer, plone.app.portlets.portlets.base.DeferredRenderer, plone.app.portlets.portlets.calendar.Renderer, plone.app.portlets.portlets.events.Renderer, plone.app.portlets.portlets.recent.Renderer, and plone.app.portlets.portlets.news.Renderer.

Definition at line 85 of file base.py.

00085 
00086     def render(self):
00087         raise NotImplementedError("You must implement 'render' as a method "
00088                                   "or page template file attribute")

Definition at line 55 of file search.py.

00055 
00056     def search_action(self):
00057         return '%s/search' % self.portal_url
00058 

Definition at line 52 of file search.py.

00052 
00053     def search_form(self):
00054         return '%s/search_form' % self.portal_url


Member Data Documentation

Reimplemented in plone.app.portlets.portlets.classic.Renderer.

Definition at line 75 of file base.py.

Reimplemented in plone.app.portlets.portlets.classic.Renderer.

Definition at line 80 of file base.py.

Definition at line 79 of file base.py.

Definition at line 47 of file search.py.

tuple plone.app.portlets.portlets.search.Renderer.render = ViewPageTemplateFile('search.pt') [static]

Definition at line 41 of file search.py.

Definition at line 76 of file base.py.

Definition at line 77 of file base.py.


The documentation for this class was generated from the following file: