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.
Показать файл
Открыть проект
Открытые методы
Защищенные методы
Метод |
Описание |
|
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.
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.
showAddView()
защищенный Метод
Shows the add record view.
showEditView()
защищенный Метод
Shows the edit record view.
showListView()
защищенный Метод
Shows the view for listing the records.