run() public method
Updates an existing model.
| public yii\db\ActiveRecordInterface run ( $id ) | ||
|---|---|---|
| $id | string |
The primary key of the model. |
| return | yii\db\ActiveRecordInterface |
The model being updated |
| throws | yii\web\ServerErrorHttpException |
if there is any error when updating the model |
Please login to continue.