/** * @inheritdoc */ public function behaviors() { $behaviors = parent::behaviors(); $behaviors['blameable'] = \cookyii\behaviors\BlameableBehavior::class; $behaviors['timestamp'] = \cookyii\behaviors\TimestampBehavior::class; return $behaviors; }
/** * @inheritdoc */ public function behaviors() { $behaviors = parent::behaviors(); $behaviors['unique-code-id'] = \cookyii\behaviors\UniqueCodeIdBehavior::class; $behaviors['timestamp'] = \cookyii\behaviors\TimestampBehavior::class; return $behaviors; }
/** * Save message to database * @inheritdoc */ public function save($runValidation = true, $attributeNames = null) { return parent::save($runValidation, $attributeNames); }