PHP Class yii2tech\admin\actions\Update

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

Public Properties

Property Type Description
$view name of the view, which should be rendered

Public Methods

Method Description
run ( mixed $id ) : mixed Updates existing record specified by id.

Method Details

run() public method

Updates existing record specified by id.
public run ( mixed $id ) : mixed
$id mixed id of the model to be deleted.
return mixed response.

Property Details

$view public property

name of the view, which should be rendered
public $view