Method | Description | |
---|---|---|
evaluateVersionCondition ( string $type, string $condition ) : boolean | Checks whether PHP or MySQL version meets supplied version condition | |
getLatestCompatibleVersion ( array $releases ) : array | Returns the version and date of the latest phpMyAdmin version compatible with the available PHP and MySQL versions | |
getLatestVersion ( ) : object | Returns information with latest version from phpmyadmin.net | |
versionToInt ( string $version ) : mixed | Calculates numerical equivalent of phpMyAdmin version string |
Method | Description | |
---|---|---|
getMySQLVersion ( ) : string | Returns the MySQL version | |
getPHPVersion ( ) : string | Returns the PHP version |
public getLatestCompatibleVersion ( array $releases ) : array | ||
$releases | array | array of information related to each version |
return | array | containing the version and date of latest compatible version |
public getLatestVersion ( ) : object | ||
return | object | JSON decoded object with the data |
protected getMySQLVersion ( ) : string | ||
return | string | MySQL version |
protected getPHPVersion ( ) : string | ||
return | string | PHP version |
public versionToInt ( string $version ) : mixed | ||
$version | string | version |
return | mixed | false on failure, integer on success |