Пример #1
0
 public function behaviors()
 {
     return ['transformations' => ['class' => TransformationBehavior::className(), 'transformations' => [[['raspisanie_nachalo', 'raspisanie_konec'], 'date']]]];
 }
Пример #2
0
 public function behaviors()
 {
     return [TransformationBehavior::className()];
 }