Data
final class Data (View source)
This class provides data about the server status
TODO: Use lazy initialisation for some of the properties since not all of the serverstatus*.php pages need all the data that this class provides.
Constants
private ALLOCATIONS |
variable name => section
variable names match when they begin with the given string |
Properties
array<string,string|int|float> | $status | ||
array<string,string> | $sections | ||
array<string,string> | $variables | ||
array<string,string|int|float> | $usedQueries | ||
string[] | $allocationMap | ||
array | $links | ||
bool | $dbIsLocal | ||
true[] | $sectionUsed | ||
bool | $dataLoaded |
Methods
getReplicationInfo()
No description
static array
cleanDeprecated(array $serverStatus)
cleanup of some deprecated values
Details
ReplicationInfo
getReplicationInfo()
No description
__construct(DatabaseInterface $dbi, Config $config)
No description
static array
cleanDeprecated(array $serverStatus)
cleanup of some deprecated values