Perforce Chronicle 2012.2/486814
API Documentation
|
This is the generic search sub-form utilized by the data grid. More...
Public Member Functions | |
init () | |
Initialize grid search form. |
This is the generic search sub-form utilized by the data grid.
Ui_Form_GridSearch::init | ( | ) |
Initialize grid search form.
{ $this->setName('search') ->setAttrib('class', 'search-form'); // set order to place this sub-form to the top of the list $this->setOrder(-10); // add field to collect the search query $this->addElement( 'Text', 'query', array( 'label' => 'Search', 'filters' => array('StringTrim'), 'autoApply' => true ) ); }