skeeks\cms\helpers\TreeOptions::getMultiOptions PHP Method

getMultiOptions() public method

Строит массив для селекта
public getMultiOptions ( $includeSelf = true ) : array
return array
    public function getMultiOptions($includeSelf = true)
    {
        $this->_tmpResult = [];
        if (!$this->isNewRecord && $includeSelf) {
            $this->_tmpResult[$this->id] = $this;
        }
        return $this->_buildTreeArrayRecursive($this, $this->_filter);
    }