mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
Update concept-behaviors.md
miss blank
This commit is contained in:
@ -249,7 +249,7 @@ $component->detachBehaviors();
|
||||
Using `TimestampBehavior` <a name="using-timestamp-behavior"></a>
|
||||
-------------------------
|
||||
|
||||
To wrap up, let's take a look at [[yii\behaviors\TimestampBehavior]]. This behavior supports automatically
|
||||
To wrap up, let's take a look at [[yii\behaviors\TimestampBehavior]]. This behavior supports automatically
|
||||
updating the timestamp attributes of an [[yii\db\ActiveRecord|Active Record]] model anytime the model is saved (e.g., on insert or update).
|
||||
|
||||
First, attach this behavior to the [[yii\db\ActiveRecord|Active Record]] class that you plan to use:
|
||||
|
||||
Reference in New Issue
Block a user