Rundiz/Profiler/Profiler.php
public function display($dbh = '', $display_db_function = '')
    {
        $this->gatherAll();

        global $rundizProfilerBeautifulIndent;
        $rundizProfilerBeautifulIndent = $this->beautifulIndent;

        // return display views.
        ob_start();
        require __DIR__.DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'display.php';
        $this->reset();
        $output = ob_get_contents();
        ob_end_clean();

        return $output;
    }
public function display($dbh = '', $display_db_function = '')
    {
        $this->gatherAll();

        global $rundizProfilerBeautifulIndent;
        $rundizProfilerBeautifulIndent = $this->beautifulIndent;

        // return display views.
        ob_start();
        require __DIR__.DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'display.php';
        $this->reset();
        $output = ob_get_contents();
        ob_end_clean();

        return $output;
    }
display the profiler data results.

@return string return the profiler result in html.