PMA\libraries\navigation\NavigationTree::_setVisibility PHP Method

_setVisibility() private method

Makes some nodes visible based on the which node is active
private _setVisibility ( ) : void
return void
    private function _setVisibility()
    {
        foreach ($this->_vPath as $path) {
            $node = $this->_tree;
            foreach ($path as $value) {
                $child = $node->getChild($value);
                if ($child !== false) {
                    $child->visible = true;
                    $node = $child;
                }
            }
        }
    }