Class \Prado\Data\ActiveRecord\Scaffold\TScaffoldSearch
TScaffoldSearch provide a simple textbox and a button that is used
to perform search on a TScaffoldListView with ID given by {@see setListViewID ListViewID}.
The \Prado\Data\ActiveRecord\Scaffold\getSearchText property is a TTextBox and the \Prado\Data\ActiveRecord\Scaffold\getSearchButton property is a TButton with label value "Search".
Searchable fields of the Active Record can be restricted by specifying a comma delimited string of allowable fields in the \Prado\Data\ActiveRecord\Scaffold\setSearchableFields property. The default is null, meaning that most text type fields are searched (the default searchable fields are database dependent).
Class hierarchy
- \Prado\Data\ActiveRecord\Scaffold\TScaffoldSearch
- \Prado\Data\ActiveRecord\Scaffold\TScaffoldBase
- \Prado\Web\UI\TTemplateControl
- \Prado\Web\UI\TCompositeControl implements INamingContainer
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.1
public
|
bubbleEvent(mixed $sender, mixed $param) : mixed
Sets the SearchCondition of the TScaffoldListView as the search terms
given by the text of the search text box.
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
|
|
protected
|