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.
Afficher le fichier
Open project: pradosoft/prado
Class Usage Examples
Méthodes publiques
Méthodes protégées
Method Details
clearRecordObject()
protected méthode
Unset the current record instance and table information.
copyFrom()
protected méthode
Copy the view details from another scaffold view instance.
protected copyFrom ( TScaffoldBase $obj ) |
$obj |
TScaffoldBase |
|
getDefaultStyle()
public méthode
getEnableDefaultStyle()
public méthode
getRecordClass()
public méthode
Name of the Active Record class to be viewed or scaffolded.
getRecordFinder()
protected méthode
protected getRecordFinder ( ) : TActiveRecord |
Résultat |
Prado\Data\ActiveRecord\TActiveRecord |
Active Record finder instance |
getRecordObject()
protected méthode
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 |
Résultat |
Prado\Data\ActiveRecord\TActiveRecord |
record instance |
getRecordPkValues()
protected méthode
getRecordPropertyValues()
protected méthode
getTableInfo()
protected méthode
protected getTableInfo ( ) : TDbMetaData |
Résultat |
TDbMetaData |
table/view information |
onPreRender()
public méthode
Publish the default stylesheet file.
setDefaultStyle()
public méthode
setEnableDefaultStyle()
public méthode
setRecordClass()
public méthode
Name of the Active Record class to be viewed or scaffolded.
setRecordObject()
protected méthode
protected setRecordObject ( TActiveRecord $value ) |
$value |
Prado\Data\ActiveRecord\TActiveRecord |
|