kartik\tree\TreeViewInput::run PHP Méthode

run() public méthode

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();
    }