PHP 클래스 ContentBlockBackendController

부터: 0.1
저자: yupe team ([email protected])
상속: extends yupe\components\controllers\BackController
파일 보기 프로젝트 열기: yupe/yupe

공개 메소드들

메소드 설명
accessRules ( ) : array
actionCreate ( ) : void Creates a new model.
actionDelete ( integer $id ) : 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 ) : ContentBlock 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 'admin' page.
public actionDelete ( integer $id ) : void
$id integer the ID of the model to be deleted
리턴 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 the ID of the model to be updated
리턴 void

actionView() 공개 메소드

Displays a particular model.
public actionView ( integer $id ) : void
$id integer the ID of the model to be displayed
리턴 void

actions() 공개 메소드

public actions ( ) : array
리턴 array

loadModel() 공개 메소드

If the data model is not found, an HTTP exception will be raised.
public loadModel ( integer $id ) : ContentBlock
$id integer the ID of the model to be loaded
리턴 ContentBlock $model