protected function _dumpRenderLite($data, $varname = '...', $params = array())
    {
        if (is_bool($data)) {
            $data = $data ? 'TRUE' : 'FALSE';
        } elseif (is_null($data)) {
            $data = 'NULL';
        }

        if (is_string($data) && strlen($data) == 0) {
            $printrOut = '""';
        } else {
            $printrOut = print_r($data, true);
        }

        if (!self::isCli()) {
            $printrOut = $this->_htmlChars($printrOut);
        }

        if (self::isAjax()) {
            $printrOut = str_replace('] =&gt;', '] =>', $printrOut);
        }

        $output   = array();
        if (!self::isCli()) {
            $output[] = '<pre>------------------------------' . PHP_EOL;
        }

        $output[] = $varname . ' = ';
        $output[] = rtrim($printrOut, PHP_EOL);

        if (!self::isCli()) {
            $output[] = PHP_EOL . '------------------------------</pre>' . PHP_EOL;
        } else {
            $output[] = PHP_EOL;
        }

        if (!self::isAjax()) {
            echo '<pre class="jbdump" style="text-align: left;">' . implode('', $output) . '</pre>' . PHP_EOL;
        } else {
            echo implode('', $output);
        }
    }
protected function _dumpRenderLite($data, $varname = '...', $params = array())
    {
        if (is_bool($data)) {
            $data = $data ? 'TRUE' : 'FALSE';
        } elseif (is_null($data)) {
            $data = 'NULL';
        }

        if (is_string($data) && strlen($data) == 0) {
            $printrOut = '""';
        } else {
            $printrOut = print_r($data, true);
        }

        if (!self::isCli()) {
            $printrOut = $this->_htmlChars($printrOut);
        }

        if (self::isAjax()) {
            $printrOut = str_replace('] =&gt;', '] =>', $printrOut);
        }

        $output   = array();
        if (!self::isCli()) {
            $output[] = '<pre>------------------------------' . PHP_EOL;
        }

        $output[] = $varname . ' = ';
        $output[] = rtrim($printrOut, PHP_EOL);

        if (!self::isCli()) {
            $output[] = PHP_EOL . '------------------------------</pre>' . PHP_EOL;
        } else {
            $output[] = PHP_EOL;
        }

        if (!self::isAjax()) {
            echo '<pre class="jbdump" style="text-align: left;">' . implode('', $output) . '</pre>' . PHP_EOL;
        } else {
            echo implode('', $output);
        }
    }
protected function _dumpRenderLite ( $ data , $ varname = '...' , $ params = array ( ) ) { if ( is_bool ( $ data ) ) { $ data = $ data ? 'TRUE' : 'FALSE' ; } elseif ( is_null ( $ data ) ) { $ data = 'NULL' ; } if ( is_string ( $ data ) && strlen ( $ data ) == 0 ) { $ printrOut = '""' ; } else { $ printrOut = print_r ( $ data , true ) ; } if ( ! self :: isCli ( ) ) { $ printrOut = $ this -> _htmlChars ( $ printrOut ) ; } if ( self :: isAjax ( ) ) { $ printrOut = str_replace ( '] =&gt;' , '] =>' , $ printrOut ) ; } $ output = array ( ) ; if ( ! self :: isCli ( ) ) { $ output [ ] = '<pre>------------------------------' . PHP_EOL ; } $ output [ ] = $ varname . ' = ' ; $ output [ ] = rtrim ( $ printrOut , PHP_EOL ) ; if ( ! self :: isCli ( ) ) { $ output [ ] = PHP_EOL . '------------------------------</pre>' . PHP_EOL ; } else { $ output [ ] = PHP_EOL ; } if ( ! self :: isAjax ( ) ) { echo '<pre class="jbdump" style="text-align: left;">' . implode ( '' , $ output ) . '</pre>' . PHP_EOL ; } else { echo implode ( '' , $ output ) ; } }
Dump render - Lite mode
@param mixed  $data
@param string $varname
@param array  $params
Dump render - Lite mode