255] ]; } /** * @inheritdoc */ public function behaviors() { return [ [ 'class' => TimestampBehavior::className(), 'value' => function(){ return date('Y-m-d H:i:s' ); } ] ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id_image' => Yii::t('common/image', 'Id Image'), 'path' => Yii::t('common/image', 'Path'), 'created_at' => Yii::t('common/image', 'Created At'), 'updated_at' => Yii::t('common/image', 'Updated At'), ]; } }