Elgg  Version 6.3
Variables
database.php File Reference

Go to the source code of this file.

Variables

 $tables
 
 $header
 
 $rows = []
 
foreach($tables as $table_name) $body = elgg_format_element('tbody', [], implode(PHP_EOL, $rows))
 
 $table = elgg_format_element('table', ['class' => 'elgg-table'], $header . $body)
 

Variable Documentation

◆ $body

foreach ( $tables as $table_name) $body = elgg_format_element('tbody', [], implode(PHP_EOL, $rows))

Definition at line 50 of file database.php.

◆ $header

$header
Initial value:
= [
elgg_format_element('th', [], elgg_echo('admin:statistics:database:table')),
elgg_format_element('th', [], elgg_echo('admin:statistics:database:row_count')),
]
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_format_element(string $tag_name, array $attributes=[], string $text='', array $options=[])
Format an HTML element.
Definition: output.php:145

Definition at line 27 of file database.php.

◆ $rows

$rows = []

Definition at line 34 of file database.php.

◆ $table

$table = elgg_format_element('table', ['class' => 'elgg-table'], $header . $body)

Definition at line 52 of file database.php.

◆ $tables

$tables
Initial value:
= [
'access_collections',
'access_collection_membership',
'annotations',
'api_users',
'config',
'delayed_email_queue',
'entities',
'entity_relationships',
'hmac_cache',
'metadata',
'queue',
'river',
'system_log',
'users_apisessions',
'users_remember_me_cookies',
'users_sessions',
]

Definition at line 8 of file database.php.