skeeks\cms\widgets\formInputs\selectTree\SelectTreeInputWidget::init PHP Method

init() public method

public init ( )
    public function init()
    {
        $this->treeWidgetOptions = ArrayHelper::merge(["models" => [], "sessionName" => 'select-' . (int) $this->multiple, "viewNodeContentFile" => '@skeeks/cms/widgets/formInputs/selectTree/views/_tree-node', 'pjaxOptions' => ['enablePushState' => false], 'contextData' => ['selectTreeInputWidget' => $this]], $this->treeWidgetOptions);
        $this->wrapperOptions['id'] = $this->id . "-wrapper";
        $this->clientOptions['id'] = $this->id;
        $this->clientOptions['wrapperid'] = $this->wrapperOptions['id'];
        parent::init();
    }