PHP 클래스 Prado\Data\ActiveRecord\Scaffold\TScaffoldSearch

The {@link getSearchText SearchText} property is a TTextBox and the {@link getSearchButton SearchButton} 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 {@link setSearchableFields SearchableFields} property. The default is null, meaning that most text type fields are searched (the default searchable fields are database dependent).
부터: 3.1
상속: extends TScaffoldBase
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
bubbleEvent ( $sender, $param ) Sets the SearchCondition of the TScaffoldListView as the search terms given by the text of the search text box.
getListViewID ( ) : string
getSearchButton ( ) : TButton
getSearchText ( ) : TTextBox
getSearchableFields ( ) : string
setListViewID ( $value )
setSearchableFields ( $value )

보호된 메소드들

메소드 설명
createSearchCondition ( ) : string
getFields ( ) : array
getListView ( ) : TScaffoldListView

메소드 상세

bubbleEvent() 공개 메소드

Sets the SearchCondition of the TScaffoldListView as the search terms given by the text of the search text box.
public bubbleEvent ( $sender, $param )

createSearchCondition() 보호된 메소드

protected createSearchCondition ( ) : string
리턴 string the search criteria for the search terms in the search text box.

getFields() 보호된 메소드

protected getFields ( ) : array
리턴 array list of fields to be searched.

getListView() 보호된 메소드

protected getListView ( ) : TScaffoldListView
리턴 TScaffoldListView the scaffold list view this search box belongs to.

getListViewID() 공개 메소드

public getListViewID ( ) : string
리턴 string ID of the TScaffoldListView this search control belongs to.

getSearchButton() 공개 메소드

public getSearchButton ( ) : TButton
리턴 TButton button with default label "Search".

getSearchText() 공개 메소드

public getSearchText ( ) : TTextBox
리턴 TTextBox search text box.

getSearchableFields() 공개 메소드

public getSearchableFields ( ) : string
리턴 string comma delimited list of fields that may be searched.

setListViewID() 공개 메소드

public setListViewID ( $value )

setSearchableFields() 공개 메소드

public setSearchableFields ( $value )