8 'access_collection_membership',
12 'delayed_email_queue',
14 'entity_relationships',
21 'users_remember_me_cookies',
26 $header .=
'<th>' .
elgg_echo(
'admin:statistics:database:row_count') .
'</th></tr>';
29 foreach (
$tables as $table_name) {
30 $qb = Select::fromTable($table_name);
31 $qb->select(
'COUNT(*) AS total');
34 $row_count = empty($row_count) ? 0 : (int) $row_count->total;
36 $rows .=
"<tr><td>{$table_name}</td><td>{$row_count}</td></tr>";
39 $body =
"<table class='elgg-table'><thead>{$header}</thead><tbody>{$rows}</tbody></table>";
elgg_view_module(string $type, string $title, string $body, array $vars=[])
Wrapper function for the module display pattern.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
foreach($tables as $table_name) $body
_elgg_services()
Get the global service provider.