PHP Class yii2tech\admin\actions\Delete

Since: 1.0
Author: Paul Klimov ([email protected])
Inheritance: extends Action
Afficher le fichier Open project: yii2tech/admin

Méthodes publiques

Свойство Type Description
$flash flash message to be set on success.
$returnAction

Méthodes publiques

Méthode Description
run ( mixed $id ) : mixed Deletes a model.

Method Details

run() public méthode

Deletes a model.
public run ( mixed $id ) : mixed
$id mixed id of the model to be deleted.
Résultat mixed response.

Property Details

$flash public_oe property

flash message to be set on success.
See also: Action::setFlash() for details on how setup flash.
public $flash

$returnAction public_oe property

public $returnAction