PHP Class mirocow\eav\admin\controllers\EntityController

Inheritance: extends yii\web\Controller
Afficher le fichier Open project: mirocow/yii2-eav

Méthodes publiques

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

Méthodes protégées

Méthode Description
findModel ( integer $id ) : EavEntity Finds the EavEntity model based on its primary key value.

Method Details

actionCreate() public méthode

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

actionDelete() public méthode

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

actionIndex() public méthode

Lists all EavEntity models.
public actionIndex ( ) : mixed
Résultat mixed

actionUpdate() public méthode

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

actionView() public méthode

Displays a single EavEntity model.
public actionView ( integer $id ) : mixed
$id integer
Résultat mixed

behaviors() public méthode

public behaviors ( )

findModel() protected méthode

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