Example #1
0
 public function transformations()
 {
     return [['kategoriyaPedRabotnikaAsEnum' => 'kategoriya_ped_rabotnika', EnumTransformer::className(), ['enum' => KategoriyaPedRabotnika::className()]], ['formattedTelefon' => 'telefon', TelefonTransformer::className()], ['pasportKemVydanKodFormatted' => 'pasport_kem_vydan_kod', PasportKemVydanKodTransformer::className()], ['snilsFormatted' => 'snils', SnilsTransformer::className()], ['dataRozhdeniyaAsDate' => 'data_rozhdeniya', DateTransformer::className()], ['pasportKogdaVydanAsDate' => 'pasport_kogda_vydan', DateTransformer::className()]];
 }
Example #2
0
 public function transformations()
 {
     return [['formyObucheniyaAsArray' => 'formy_obucheniya', EnumArrayTransformer::className(), ['enum' => FormaObucheniya::className()]], ['formyObucheniyaAsNames' => 'formy_obucheniya', EnumNamesArrayTransformer::className(), ['enum' => FormaObucheniya::className()]], ['finansirovanieAsName' => 'finansirovanie', EnumNameTransformer::className(), ['enum' => TipFinansirovaniya::className()]], ['finansirovanieAsEnum' => 'finansirovanie', EnumTransformer::className(), ['enum' => TipFinansirovaniya::className()]], ['ochnoeNachaloAsDate' => 'ochnoe_nachalo', DateTransformer::className()], ['ochnoeKonecAsDate' => 'ochnoe_konec', DateTransformer::className()], ['zaochnoeNachaloAsDate' => 'zaochnoe_nachalo', DateTransformer::className()], ['zaochnoeKonecAsDate' => 'zaochnoe_konec', DateTransformer::className()]];
 }
 public function transformations()
 {
     return [['etapObrazovaniyaAsEnum' => 'etapObrazovaniya', EnumTransformer::className(), ['enum' => EtapObrazovaniya::className()]]];
 }