function dba_statpack_header in Database Administration 7
Display report header.
1 call to dba_statpack_header()
- dba_statpack_page in ./
dba.statpack.inc - Display database report.
File
- ./
dba.statpack.inc, line 211
Code
function dba_statpack_header($uptime, $interval) {
$output = array();
$output[] = dba_statpack_line();
$text = t('Uptime: ') . $uptime . t(' Snapshot Period: !interval second interval', array(
'!interval' => $interval,
));
$output[] = dba_statpack_center($text);
$output[] = dba_statpack_line();
$output[] = dba_statpack_columns(array(
t('Variable'),
t('Delta/Percentage'),
t('Per Second'),
t('Total'),
));
$output[] = dba_statpack_line();
return $output;
}