Perforce Chronicle 2012.2/486814
API Documentation

Search_WidgetController Class Reference

Puts the basic search form in a region. More...

Inheritance diagram for Search_WidgetController:
P4Cms_Widget_ControllerAbstract

List of all members.

Public Member Functions

 indexAction ()
 Display basic search form.

Detailed Description

Puts the basic search form in a region.

Copyright:
2011-2012 Perforce Software. All rights reserved
License:
Please see LICENSE.txt in top-level folder of this distribution.
Version:
2012.2/486814

Member Function Documentation

Search_WidgetController::indexAction ( )

Display basic search form.

    {
        $request = $this->getRequest();

        // get the search form.
        $form = new Search_Form_Basic;
        $form->setIdPrefix($this->_getWidget()->getId() . "-");
        $form->setAction($this->_helper->url('index', 'index', 'search'));
        $form->populate($request->getParams());
        $this->view->form = $form;
    }

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