PMA\libraries\navigation\nodes\Node::getIcon PHP Method

getIcon() public method

Returns icon for the node
public getIcon ( boolean $match ) : String
$match boolean Whether the node matched loaded tree
return String with image name
    public function getIcon($match)
    {
        if (!$GLOBALS['cfg']['NavigationTreeEnableExpansion']) {
            return '';
        } elseif ($match && !$this->is_group) {
            $this->visible = true;
            return Util::getImage('b_minus.png');
        } else {
            return Util::getImage('b_plus.png', __('Expand/Collapse'));
        }
    }