PMA\libraries\Util::getExternalBug PHP Method

getExternalBug() public static method

Prepare a lightbulb hint explaining a known external bug that affects a functionality
public static getExternalBug ( string $functionality, string $component, string $minimum_version, string $bugref ) : String
$functionality string localized message explaining the func.
$component string 'mysql' (eventually, 'php')
$minimum_version string of this component
$bugref string bug reference for this component
return String
    public static function getExternalBug($functionality, $component, $minimum_version, $bugref)
    {
        $ext_but_html = '';
        if ($component == 'mysql' && PMA_MYSQL_INT_VERSION < $minimum_version) {
            $ext_but_html .= self::showHint(sprintf(__('The %s functionality is affected by a known bug, see %s'), $functionality, PMA_linkURL('https://bugs.mysql.com/') . $bugref));
        }
        return $ext_but_html;
    }
Util