/**
  * @inheritdoc
  */
 public function run()
 {
     if (!array_key_exists('url', $this->clientOptions)) {
         $this->clientOptions['url'] = PhoneCodesAsset::register($this->getView())->baseUrl . '/phone-codes.js';
     }
     return parent::run();
 }
 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->alias = 'phone';
     parent::init();
     if (!array_key_exists('url', $this->clientOptions)) {
         $this->clientOptions['url'] = PhoneCodesAsset::register($this->getView())->baseUrl . '/phone-ru.js';
     }
 }
Пример #3
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->alias = 'mac';
     parent::init();
 }
 /**
  * @inheritdoc
  */
 public function init()
 {
     $this->alias = 'email';
     parent::init();
 }