WidgetSearchIndexSearchBox Class Reference
Widget that prints a search box. More...
Inheritance diagram for
WidgetSearchIndexSearchBox:
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.
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
Definition at line 9 of file searchindex.searchbox.widget.php.
const WidgetSearchIndexSearchBox::CONTEXT_HEAD = 1024 |
Definition at line 11 of file searchindex.searchbox.widget.php.
const WidgetSearchIndexSearchBox::CONTEXT_SIDE = 512 |
Definition at line 10 of file searchindex.searchbox.widget.php.
The documentation for this class was generated from the following file:
- contributions/models.searchindex/view/widgets/searchindex.searchbox.widget.php