kartik\tree\TreeViewInput::getInput PHP 메소드

getInput() 공개 메소드

Generates the hidden input for storage
public getInput ( ) : string
리턴 string
    public function getInput()
    {
        if ($this->hasModel()) {
            return Html::activeHiddenInput($this->model, $this->attribute, $this->options);
        }
        return Html::hiddenInput($this->name, $this->value, $this->options);
    }