Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
rest
UpdateAction
PHP Class yii\rest\UpdateAction
Since:
2.0
Author:
Qiang Xue (
[email protected]
)
Inheritance:
extends
Action
Datei anzeigen
Open project: yiisoft/yii2
Class Usage Examples
Public Properties
Property
Type
Description
$scenario
the scenario to be assigned to the model before it is validated and updated.
Public Methods
Method
Description
run
(
string
$id
) :
yii\db\ActiveRecordInterface
Updates an existing model.
Method Details
run()
public
method
Updates an existing model.
public
run
(
string
$id
) :
yii\db\ActiveRecordInterface
$id
string
the primary key of the model.
return
yii\db\ActiveRecordInterface
the model being updated
Property Details
$scenario
public_oe property
the scenario to be assigned to the model before it is validated and updated.
public
$scenario