dosamigos\selectize\InputWidget::run PHP Méthode

run() public méthode

public run ( )
    public function run()
    {
        $this->registerClientScript();
    }

Usage Example

 /**
  * @inheritdoc
  */
 public function run()
 {
     if ($this->hasModel()) {
         echo Html::activeDropDownList($this->model, $this->attribute, $this->items, $this->options);
     } else {
         echo Html::dropDownList($this->name, $this->value, $this->items, $this->options);
     }
     parent::run();
 }
All Usage Examples Of dosamigos\selectize\InputWidget::run