PHP Class 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.
Datei anzeigen
Open project: pradosoft/prado
Public Methods
Protected Methods
Method |
Description |
|
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. |
|
Method Details
bubbleEvent()
public method
Default command shows the list view.
getEditView()
public method
public getEditView ( ) : TScaffoldEditView |
return |
TScaffoldEditView |
scaffold edit view. |
getListView()
public method
public getListView ( ) : TScaffoldListView |
return |
TScaffoldListView |
scaffold list view. |
getSearchControl()
public method
public getSearchControl ( ) : TScaffoldSearch |
return |
TScaffoldSearch |
scaffold search textbox and button. |
onPreRender()
public method
Copy basic record details to the list/edit/search controls.
showAddView()
protected method
Shows the add record view.
showEditView()
protected method
Shows the edit record view.
showListView()
protected method
Shows the view for listing the records.