mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-15 23:04:54 +08:00
fixed wording
This commit is contained in:
@ -163,7 +163,7 @@ $customer = Customer::find($id);
|
|||||||
$customer->email = 'james@example.com';
|
$customer->email = 'james@example.com';
|
||||||
$customer->save(); // equivalent to $customer->update();
|
$customer->save(); // equivalent to $customer->update();
|
||||||
// Note that model attributes will be validated first and
|
// Note that model attributes will be validated first and
|
||||||
// model will not be saved unless valid.
|
// model will not be saved unless it's valid.
|
||||||
|
|
||||||
// to delete an existing customer record
|
// to delete an existing customer record
|
||||||
$customer = Customer::find($id);
|
$customer = Customer::find($id);
|
||||||
|
Reference in New Issue
Block a user