function devel_shutdown_summary

Returns the rendered shutdown summary.

Return value

string

1 call to devel_shutdown_summary()
devel_shutdown_real in ./devel.module
Runs on shutdown to display developer information in the footer.

File

./devel.module, line 1205

Code

function devel_shutdown_summary($queries) {
    $sum = 0;
    $output = '';
    list($counts, $query_summary) = devel_query_summary($queries);
    if (variable_get('devel_query_display', FALSE)) {
        // Query log on.
        $output .= $query_summary;
        $output .= t_safe(' Queries exceeding @threshold ms are <span class="marker">highlighted</span>.', array(
            '@threshold' => variable_get('devel_execution', 5),
        ));
    }
    if (variable_get('devel_timer', 0)) {
        $output .= devel_timer();
    }
    $output .= devel_shutdown_memory();
    if ($output) {
        return '<div class="dev-query">' . $output . '</div>';
    }
}