PHP Class NewsBackendController

Author: yupe team ([email protected])
Inheritance: extends yupe\components\controllers\BackController
Mostra file Open project: yupe/yupe

Public Methods

Method Description
accessRules ( ) : array
actionCreate ( ) : void Creates a new model.
actionDelete ( null $id = null )
actionIndex ( ) : void Manages all models.
actionUpdate ( $id )
actionView ( integer $id ) : void Displays a particular model.
actions ( ) : array
loadModel ( $id ) : static

Method Details

accessRules() public method

public accessRules ( ) : array
return array

actionCreate() public method

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

actionDelete() public method

public actionDelete ( null $id = null )
$id null

actionIndex() public method

Manages all models.
public actionIndex ( ) : void
return void

actionUpdate() public method

public actionUpdate ( $id )
$id

actionView() public method

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

actions() public method

public actions ( ) : array
return array

loadModel() public method

public loadModel ( $id ) : static
$id
return static