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.
Since: 3.0
Inheritance: extends TScaffoldBase
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode 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 méthode

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

getAddButton() public méthode

public getAddButton ( ) : TButton
Résultat TButton "Add new record" button.

getEditView() public méthode

public getEditView ( ) : TScaffoldEditView
Résultat TScaffoldEditView scaffold edit view.

getListView() public méthode

public getListView ( ) : TScaffoldListView
Résultat TScaffoldListView scaffold list view.

getSearchControl() public méthode

public getSearchControl ( ) : TScaffoldSearch
Résultat TScaffoldSearch scaffold search textbox and button.

onPreRender() public méthode

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

showAddView() protected méthode

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

showEditView() protected méthode

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

showListView() protected méthode

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