class Data

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

$status
$sections
$variables
$used_queries
$allocationMap
$links
$db_isLocal
$section
$sectionUsed
$selfUrl
$dataLoaded

Methods

void
__set(string $a, mixed $b)

An empty setter makes the above properties read-only

__construct()

Constructor

static array
cleanDeprecated(array $server_status)

cleanup of some deprecated values

Details

at line 47
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

at line 317
__construct()

Constructor

at line 410
static array cleanDeprecated(array $server_status)

cleanup of some deprecated values

Parameters

array $server_status status array to process

Return Value

array