PMA\libraries\navigation\nodes\Node::getIcon PHP 메소드

getIcon() 공개 메소드

Returns icon for the node
public getIcon ( boolean $match ) : String
$match boolean Whether the node matched loaded tree
리턴 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'));
        }
    }