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

The {@link getListView ListView} property gives a TScaffoldListView for display the record data. The {@link getEditView EditView} is the TScaffoldEditView that renders the inputs for editing and adding records. The {@link getSearchControl SearchControl} is a TScaffoldSearch responsible to the search user interface. Set the {@link setRecordClass RecordClass} property to the name of the Active Record class to be displayed/edited/added.
부터: 3.0
상속: extends TScaffoldBase
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
bubbleEvent ( $sender, $param ) Handle the "edit" and "new" commands by displaying the edit view.
getAddButton ( ) : TButton
getEditView ( ) : TScaffoldEditView
getListView ( ) : TScaffoldListView
getSearchControl ( ) : TScaffoldSearch
onPreRender ( $param ) Copy basic record details to the list/edit/search controls.

보호된 메소드들

메소드 설명
showAddView ( $sender, $param ) Shows the add record view.
showEditView ( $sender, $param ) Shows the edit record view.
showListView ( $sender, $param ) Shows the view for listing the records.

메소드 상세

bubbleEvent() 공개 메소드

Default command shows the list view.
public bubbleEvent ( $sender, $param )

getAddButton() 공개 메소드

public getAddButton ( ) : TButton
리턴 TButton "Add new record" button.

getEditView() 공개 메소드

public getEditView ( ) : TScaffoldEditView
리턴 TScaffoldEditView scaffold edit view.

getListView() 공개 메소드

public getListView ( ) : TScaffoldListView
리턴 TScaffoldListView scaffold list view.

getSearchControl() 공개 메소드

public getSearchControl ( ) : TScaffoldSearch
리턴 TScaffoldSearch scaffold search textbox and button.

onPreRender() 공개 메소드

Copy basic record details to the list/edit/search controls.
public onPreRender ( $param )

showAddView() 보호된 메소드

Shows the add record view.
protected showAddView ( $sender, $param )

showEditView() 보호된 메소드

Shows the edit record view.
protected showEditView ( $sender, $param )

showListView() 보호된 메소드

Shows the view for listing the records.
protected showListView ( $sender, $param )