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 server_status_*.php pages need all the data that this class provides.

Properties

array $status
array $sections
array $variables
array $used_queries
array $allocationMap
$links
bool $db_isLocal
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

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()

static array cleanDeprecated(array $server_status)

cleanup of some deprecated values

Parameters

array $server_status status array to process

Return Value

array