PHP 클래스 PageBackendController

상속: extends yupe\components\controllers\BackController
파일 보기 프로젝트 열기: yupe/yupe

공개 메소드들

메소드 설명
accessRules ( ) : array
actionCreate ( ) : void Creates a new model.
actionDelete ( integer $id = null ) : void Deletes a particular model.
actionIndex ( ) : void Manages all models.
actionUpdate ( integer $id ) : void Updates a particular model.
actionView ( integer $id ) : void Displays a particular model.
actions ( ) : array
loadModel ( integer $id ) : Page Returns the data model based on the primary key given in the GET variable.

메소드 상세

accessRules() 공개 메소드

public accessRules ( ) : array
리턴 array

actionCreate() 공개 메소드

If creation is successful, the browser will be redirected to the 'view' page.
public actionCreate ( ) : void
리턴 void

actionDelete() 공개 메소드

If deletion is successful, the browser will be redirected to the 'index' page
public actionDelete ( integer $id = null ) : void
$id integer - record ID
리턴 void

actionIndex() 공개 메소드

Manages all models.
public actionIndex ( ) : void
리턴 void

actionUpdate() 공개 메소드

If update is successful, the browser will be redirected to the 'view' page.
public actionUpdate ( integer $id ) : void
$id integer - record ID
리턴 void

actionView() 공개 메소드

Displays a particular model.
public actionView ( integer $id ) : void
$id integer - record ID
리턴 void

actions() 공개 메소드

public actions ( ) : array
리턴 array

loadModel() 공개 메소드

If the data model is not found, an HTTP exception will be raised.
public loadModel ( integer $id ) : Page
$id integer - record ID
리턴 Page $model