.

WidgetSearchIndexSearchBox Class Reference

Widget that prints a search box. More...

Inheritance diagram for WidgetSearchIndexSearchBox:
IWidget IRenderer

List of all members.

Public Member Functions

  render ($policy=self::CONTEXT_CONTENT)

Static Public Member Functions

static  output ($policy=self::CONTEXT_CONTENT)

Public Attributes

const  CONTEXT_CONTENT = 0
const  CONTEXT_HEAD = 1024
const  CONTEXT_SIDE = 512

Detailed Description

Widget that prints a search box.

Author:
Gerd Riesselmann

Definition at line 8 of file searchindex.searchbox.widget.php.


Member Function Documentation

static WidgetSearchIndexSearchBox::output ( policy = self::CONTEXT_CONTENT  )  [static]

Definition at line 13 of file searchindex.searchbox.widget.php.

00013                                                                      {
00014                 $w = new WidgetSearchIndexSearchBox();
00015                 return $w->render($policy);
00016         }
WidgetSearchIndexSearchBox::render ( policy = self::CONTEXT_CONTENT  ) 

Implements IRenderer.

Definition at line 18 of file searchindex.searchbox.widget.php.

00018                                                               {
00019                 $view = ViewFactory::create_view(IViewFactory::MESSAGE, 'searchindex/searchbox', false);
00020                 $view->assign('policy', $policy);
00021                 return $view->render();
00022         }

Member Data Documentation


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