PHP Class mirocow\eav\admin\controllers\ValueController

Inheritance: extends yii\web\Controller
Datei anzeigen Open project: mirocow/yii2-eav

Public Methods

Method Description
actionCreate ( ) : mixed Creates a new EavAttributeValue model.
actionDelete ( integer $id ) : mixed Deletes an existing EavAttributeValue model.
actionIndex ( ) : mixed Lists all EavAttributeValue models.
actionUpdate ( integer $id ) : mixed Updates an existing EavAttributeValue model.
actionView ( integer $id ) : mixed Displays a single EavAttributeValue model.
behaviors ( )

Protected Methods

Method Description
findModel ( integer $id ) : EavAttributeValue Finds the EavAttributeValue model based on its primary key value.

Method Details

actionCreate() public method

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

actionDelete() public method

If deletion is successful, the browser will be redirected to the 'index' page.
public actionDelete ( integer $id ) : mixed
$id integer
return mixed

actionIndex() public method

Lists all EavAttributeValue models.
public actionIndex ( ) : mixed
return mixed

actionUpdate() public method

If update is successful, the browser will be redirected to the 'view' page.
public actionUpdate ( integer $id ) : mixed
$id integer
return mixed

actionView() public method

Displays a single EavAttributeValue model.
public actionView ( integer $id ) : mixed
$id integer
return mixed

behaviors() public method

public behaviors ( )

findModel() protected method

If the model is not found, a 404 HTTP exception will be thrown.
protected findModel ( integer $id ) : EavAttributeValue
$id integer
return mirocow\eav\models\EavAttributeValue the loaded model