Свойство | Type | Description | |
---|---|---|---|
$_db_is_system_schema | DB is information_schema | ||
$_is_show_stats | whether stats show or not | ||
$_num_tables | Number of tables | ||
$_pos | Current position in the list | ||
$_tables | Tables in the database | ||
$_total_num_tables | Number of tables | ||
$_url_query | The URL query string |
Méthode | Description | |
---|---|---|
__construct ( string $url_query ) | DatabaseStructureController constructor | |
addRemoveFavoriteTablesAction ( ) : void | Add or remove favorite tables | |
handleRealRowCountRequestAction ( ) : boolean | Handles request for real row count on database level view page. | |
indexAction ( ) : void | Index action | |
multiSubmitAction ( ) : void | Handles actions related to multiple tables |
Méthode | Description | |
---|---|---|
checkFavoriteTable ( string $current_table ) : true | false | Function to check if a table is already in favorite list. | |
displayTableList ( ) : void | Displays the list of tables | |
getReplicationStatus ( string $table ) : array | Returns the replication status of the table. | |
getStuffForEngineTypeTable ( array $current_table, integer $sum_size, integer $overhead_size ) : array | Get the value set for ENGINE table, | |
getTrackingIcon ( string $table ) : string | Returns the tracking icon if the table is tracked | |
getValuesForAriaTable ( array $current_table, integer $sum_size, integer $overhead_size, integer $formatted_size, string $unit, integer $formatted_overhead, string $overhead_unit ) : array | Get values for ARIA/MARIA tables | |
getValuesForInnodbTable ( array $current_table, integer $sum_size ) : array | Get values for InnoDB table | |
hasTable ( array $db, string $truename ) : boolean | Find table with truename | |
isRowCountApproximated ( array $current_table, boolean $table_is_view ) : array | Returns whether the row count is approximated | |
synchronizeFavoriteTables ( |
Synchronize favorite tables |
Méthode | Description | |
---|---|---|
_getDbInfo ( string $sub_part ) : void | Retrieves databse information for further use |
public __construct ( string $url_query ) | ||
$url_query | string | URL query |
public addRemoveFavoriteTablesAction ( ) : void | ||
Résultat | void |
protected checkFavoriteTable ( string $current_table ) : true | false | ||
$current_table | string | current table |
Résultat | true | false |
protected displayTableList ( ) : void | ||
Résultat | void |
protected getReplicationStatus ( string $table ) : array | ||
$table | string | table name |
Résultat | array |
protected getTrackingIcon ( string $table ) : string | ||
$table | string | table name |
Résultat | string | HTML for tracking icon |
protected getValuesForAriaTable ( array $current_table, integer $sum_size, integer $overhead_size, integer $formatted_size, string $unit, integer $formatted_overhead, string $overhead_unit ) : array | ||
$current_table | array | current table |
$sum_size | integer | sum size |
$overhead_size | integer | overhead size |
$formatted_size | integer | formatted size |
$unit | string | unit |
$formatted_overhead | integer | overhead formatted |
$overhead_unit | string | overhead unit |
Résultat | array |
public handleRealRowCountRequestAction ( ) : boolean | ||
Résultat | boolean | true |
public multiSubmitAction ( ) : void | ||
Résultat | void |
protected $_db_is_system_schema |