Свойство | Тип | Описание | |
---|---|---|---|
$comment | engine lang description | ||
$engine | engine name | ||
$support | engine supported by current server | ||
$title | engine title/description |
Метод | Описание | |
---|---|---|
__construct ( string $engine ) | Constructor | |
getComment ( ) : string | Fetches the server's comment about this engine | |
getEngine ( string $engine ) : |
Loads the corresponding engine plugin, if available. | |
getHtmlSelect ( string $name = 'engine', string $id = null, string $selected = null, boolean $offerUnavailableEngines = false, boolean $addEmpty = false ) : string | Returns HTML code for storage engine select box | |
getHtmlVariables ( ) : string | Returns as HTML table of the engine's server variables | |
getInfoPages ( ) : string[] | Returns a list of available information pages with labels | |
getMysqlHelpPage ( ) : string | Returns string with filename for the MySQL helppage about this storage engine | |
getPage ( string $id ) : string | Generates the requested information page | |
getStorageEngines ( ) : string[] | Returns array of storage engines | |
getSupportInformationMessage ( ) : string | Information message on whether this storage engine is supported | |
getTitle ( ) : string | Reveals the engine's title | |
getVariables ( ) : array | Generates a list of MySQL variables that provide information about this engine. This function should be overridden when extending this class for a particular engine. | |
getVariablesLikePattern ( ) : string | Returns the pattern to be used in the query for SQL variables related to the storage engine | |
getVariablesStatus ( ) : array | Returns array with detailed info about engine specific server variables | |
isValid ( string $engine ) : boolean | Returns true if given engine name is supported/valid, otherwise false | |
resolveTypeSize ( integer $value ) : string | Returns the engine specific handling for PMA_ENGINE_DETAILS_TYPE_SIZE type variables. |
public __construct ( string $engine ) | ||
$engine | string | The engine ID |
public getComment ( ) : string | ||
Результат | string | The comment |
public static getHtmlSelect ( string $name = 'engine', string $id = null, string $selected = null, boolean $offerUnavailableEngines = false, boolean $addEmpty = false ) : string | ||
$name | string | The name of the select form element |
$id | string | The ID of the form field |
$selected | string | The selected engine |
$offerUnavailableEngines | boolean | Should unavailable storage engines be offered? |
$addEmpty | boolean | Whether to provide empty option |
Результат | string | html selectbox |
public getHtmlVariables ( ) : string | ||
Результат | string | The table that was generated based on the retrieved information |
public getInfoPages ( ) : string[] | ||
Результат | string[] | The list |
public getMysqlHelpPage ( ) : string | ||
Результат | string | MySQL help page filename |
public static getStorageEngines ( ) : string[] | ||
Результат | string[] | array of storage engines |
public getSupportInformationMessage ( ) : string | ||
Результат | string | The localized message. |
public getVariables ( ) : array | ||
Результат | array | The list of variables. |
public getVariablesLikePattern ( ) : string | ||
Результат | string | SQL query LIKE pattern |
public getVariablesStatus ( ) : array | ||
Результат | array | array with detailed info about specific engine server variables |
public resolveTypeSize ( integer $value ) : string | ||
$value | integer | Value to format |
Результат | string | the formatted value and its unit |