class Data (View source)

This class provides data about the server status

All properties of the class are read-only

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.

Properties

array $status
array $sections
array $variables
array $usedQueries
array $allocationMap
$links
bool $dbIsLocal
mixed $section
array $sectionUsed
string $selfUrl
bool $dataLoaded

Methods

void
__set(string $a, mixed $b)

An empty setter makes the above properties read-only

__construct()

No description

static array
cleanDeprecated(array $server_status)

cleanup of some deprecated values

Details

ReplicationInfo getReplicationInfo()

No description

Return Value

ReplicationInfo

void __set(string $a, mixed $b)

An empty setter makes the above properties read-only

Parameters

string $a

key

mixed $b

value

Return Value

void

__construct()

No description

static array cleanDeprecated(array $server_status)

cleanup of some deprecated values

Parameters

array $server_status

status array to process

Return Value

array