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
Показать файл Открыть проект

Открытые методы

Метод Описание
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 )