PHP Class yii2tech\admin\actions\Restore

See also: https://github.com/yii2tech/ar-softdelete
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.

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