CI_Profiler::_compile_get PHP Method

_compile_get() protected method

Compile $_GET Data
protected _compile_get ( ) : string
return string
    protected function _compile_get()
    {
        $output = array();
        $get = $this->CI->input->get();
        if (count($get) == 0 || $get === false) {
            $output = $this->CI->lang->line('profiler_no_get');
        } else {
            foreach ($get as $key => $val) {
                if (is_array($val)) {
                    $output[$key] = "<pre>" . htmlspecialchars(stripslashes(print_r($val, true))) . "</pre>";
                } else {
                    $output[$key] = htmlspecialchars(stripslashes($val));
                }
            }
        }
        return $output;
    }