PHP Class Prado\Data\ActiveRecord\Scaffold\TScaffoldBase
Provides common properties for all scaffold views (such as, TScaffoldListView,
TScaffoldEditView, TScaffoldListView and TScaffoldView).
During the OnPrRender stage the default css style file (filename style.css)
is published and registered. To override the default style, provide your own stylesheet
file explicitly.
Exibir arquivo
Open project: pradosoft/prado
Class Usage Examples
Public Methods
Protected Methods
Method Details
clearRecordObject()
protected method
Unset the current record instance and table information.
copyFrom()
protected method
Copy the view details from another scaffold view instance.
protected copyFrom ( TScaffoldBase $obj ) |
$obj |
TScaffoldBase |
|
getDefaultStyle()
public method
getEnableDefaultStyle()
public method
getRecordClass()
public method
Name of the Active Record class to be viewed or scaffolded.
getRecordFinder()
protected method
protected getRecordFinder ( ) : TActiveRecord |
return |
Prado\Data\ActiveRecord\TActiveRecord |
Active Record finder instance |
getRecordObject()
protected method
Gets the current Active Record instance. Creates new instance if the
primary key value is null otherwise the record is fetched from the db.
protected getRecordObject ( $pk = null ) : TActiveRecord |
return |
Prado\Data\ActiveRecord\TActiveRecord |
record instance |
getRecordPkValues()
protected method
getRecordPropertyValues()
protected method
getTableInfo()
protected method
protected getTableInfo ( ) : TDbMetaData |
return |
TDbMetaData |
table/view information |
onPreRender()
public method
Publish the default stylesheet file.
setDefaultStyle()
public method
setEnableDefaultStyle()
public method
setRecordClass()
public method
Name of the Active Record class to be viewed or scaffolded.
setRecordObject()
protected method
protected setRecordObject ( TActiveRecord $value ) |
$value |
Prado\Data\ActiveRecord\TActiveRecord |
|