function perfmon_mysql_page in Performance monitor 7
Mysql settings page.
1 string reference to 'perfmon_mysql_page'
- perfmon_menu in ./
perfmon.module - Implements hook_menu().
File
- ./
perfmon.pages.inc, line 81 - @todo: Enter file description here. @todo: Add hook_help for all tests.
Code
function perfmon_mysql_page() {
$output = array();
// Retrieve the testlist.
module_load_include('inc', 'perfmon');
$performance_variables = perfmon_get_mysql_performance_variables();
if (!empty($performance_variables)) {
// We have prior results, so display them.
$output['results'] = perfmon_mysql_reviewed($performance_variables);
}
else {
// If they haven't configured the site, prompt them to do so.
drupal_set_message(t('Unable to get mysql global status'));
}
return $output;
}