public function showVars()
    {
        $what = $this->getParameter('scope');
        switch ( $what ) {
            case 'global':
            case 'globals':
            case 'system':
            case 'systems':
                $debug = $this->getGlobals();
                break;

            default:
                $debug = $this->getLocals();
                break;
        }

        return '<pre>' . JSONUtils::encode($debug, true, false) . '</pre>';
    }
public function showVars()
    {
        $what = $this->getParameter('scope');
        switch ( $what ) {
            case 'global':
            case 'globals':
            case 'system':
            case 'systems':
                $debug = $this->getGlobals();
                break;

            default:
                $debug = $this->getLocals();
                break;
        }

        return '<pre>' . JSONUtils::encode($debug, true, false) . '</pre>';
    }
public function showVars ( ) { $ what = $ this -> getParameter ( 'scope' ) ; switch ( $ what ) { case 'global' : case 'globals' : case 'system' : case 'systems' : $ debug = $ this -> getGlobals ( ) ; break ; default : $ debug = $ this -> getLocals ( ) ; break ; } return '<pre>' . JSONUtils :: encode ( $ debug , true , false ) . '</pre>' ; }
Returns debuggging information about the current vars

Expected Params:
scope string (optional) If set to 'globals', then dump the globals. Otherwise dump the locals.

@return string
Returns debuggging information about the current vars