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 read-only | $status | ||
array<string,string> | $sections | ||
array | $variables | ||
array read-only | $usedQueries | ||
string[] | $allocationMap | ||
array | $links | ||
bool | $dbIsLocal | ||
true[] | $sectionUsed | ||
bool read-only | $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