PMA\libraries\navigation\nodes\NodeDatabase::getHtmlForControlButtons PHP Method

getHtmlForControlButtons() public method

Returns HTML for control buttons displayed infront of a node
public getHtmlForControlButtons ( ) : String
return String HTML for control buttons
    public function getHtmlForControlButtons()
    {
        $ret = '';
        $cfgRelation = PMA_getRelationsParam();
        if ($cfgRelation['navwork']) {
            if ($this->hiddenCount > 0) {
                $params = array('showUnhideDialog' => true, 'dbName' => $this->real_name);
                $ret = '<span class="dbItemControls">' . '<a href="navigation.php' . URL::getCommon($params) . '"' . ' class="showUnhide ajax">' . Util::getImage('show.png', __('Show hidden items')) . '</a></span>';
            }
        }
        return $ret;
    }