kartik\tree\TreeViewInput::run PHP Method

run() public method

public run ( )
    public function run()
    {
        if ($this->hasModel()) {
            $this->value = Html::getAttributeValue($this->model, $this->attribute);
        }
        $this->_disabled = ArrayHelper::getValue($this->options, 'disabled', false);
        if ($this->asDropdown) {
            $this->initDropdown();
        }
        $this->registerInputAssets();
        parent::run();
    }