Exemplo n.º 1
0
 public function init()
 {
     if ($this->snilsFormat === null) {
         $this->snilsFormat = Yii::$app->formatter->snilsFormat;
     }
     $this->mask = $this->snilsFormat;
     parent::init();
 }
 public function init()
 {
     if ($this->pasportKodPodrazdeleniyaFormat === null) {
         $this->pasportKodPodrazdeleniyaFormat = Yii::$app->formatter->pasportKodPodrazdeleniyaFormat;
     }
     $this->mask = $this->pasportKodPodrazdeleniyaFormat;
     parent::init();
 }