Esempio n. 1
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return [['class' => TimestampUTCBehavior::className(), 'createdAtAttribute' => 'create_stamp', 'updatedAtAttribute' => 'update_stamp'], ['class' => BlameableBehavior::className(), 'createdByAttribute' => 'author_id', 'updatedByAttribute' => null]];
 }
Esempio n. 2
0
 /**
  * @return array
  */
 public function behaviors()
 {
     return [['class' => TimestampUTCBehavior::className(), 'createdAtAttribute' => 'create_stamp', 'updatedAtAttribute' => 'update_stamp']];
 }