Class \Prado\Data\ActiveRecord\Scaffold\TScaffoldView
TScaffoldView is a composite control consisting of TScaffoldListView
with a TScaffoldSearch. In addition, it will display a TScaffoldEditView
when an "edit" command is raised from the TScaffoldListView (when the
edit button is clicked). Futher more, the "add" button can be clicked
that shows an empty data TScaffoldListView for creating new records.
The \Prado\Data\ActiveRecord\Scaffold\getListView property gives a TScaffoldListView for display the record data. The \Prado\Data\ActiveRecord\Scaffold\getEditView is the TScaffoldEditView that renders the inputs for editing and adding records. The \Prado\Data\ActiveRecord\Scaffold\getSearchControl is a TScaffoldSearch responsible to the search user interface.
Set the \Prado\Data\ActiveRecord\Scaffold\setRecordClass property to the name of the Active Record class to be displayed/edited/added.
Class hierarchy
- \Prado\Data\ActiveRecord\Scaffold\TScaffoldView
- \Prado\Data\ActiveRecord\Scaffold\TScaffoldBase
- \Prado\Web\UI\TTemplateControl
- \Prado\Web\UI\TCompositeControl implements INamingContainer
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.0
public
|
bubbleEvent(mixed $sender, mixed $param) : mixed
Handle the "edit" and "new" commands by displaying the edit view.
Default command shows the list view. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
|
|
protected
|