PHP 클래스 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.
파일 보기
프로젝트 열기: pradosoft/prado
1 사용 예제들
공개 메소드들
보호된 메소드들
메소드 상세
clearRecordObject()
보호된 메소드
Unset the current record instance and table information.
Copy the view details from another scaffold view instance.
protected copyFrom ( TScaffoldBase $obj ) |
$obj |
TScaffoldBase |
|
getEnableDefaultStyle()
공개 메소드
Name of the Active Record class to be viewed or scaffolded.
getRecordFinder()
보호된 메소드
protected getRecordFinder ( ) : TActiveRecord |
리턴 |
Prado\Data\ActiveRecord\TActiveRecord |
Active Record finder instance |
getRecordObject()
보호된 메소드
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 |
리턴 |
Prado\Data\ActiveRecord\TActiveRecord |
record instance |
getRecordPkValues()
보호된 메소드
getRecordPropertyValues()
보호된 메소드
protected getTableInfo ( ) : TDbMetaData |
리턴 |
TDbMetaData |
table/view information |
Publish the default stylesheet file.
setEnableDefaultStyle()
공개 메소드
Name of the Active Record class to be viewed or scaffolded.
setRecordObject()
보호된 메소드
protected setRecordObject ( TActiveRecord $value ) |
$value |
Prado\Data\ActiveRecord\TActiveRecord |
|