PHP 클래스 Horde_View_Helper_Debug, horde

Portions borrowed from Paul M. Jones' Solar_Debug
저자: Mike Naberezny ([email protected])
저자: Derek DeVries ([email protected])
저자: Chuck Hagenbuch ([email protected])
상속: extends Horde_View_Helper_Base
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
debug ( mixed $var ) : string Dumps a variable for inspection.
dump ( Exception $e ) : string Pretty exception dumper.

보호된 메소드들

메소드 설명
_clean ( $line )
_fetch ( mixed $var ) : string Returns formatted output from var_dump().
_parms ( $f )
_src2lines ( $file )
_sub ( $f )

메소드 상세

_clean() 보호된 메소드

protected _clean ( $line )

_fetch() 보호된 메소드

Buffers the var_dump() output for a variable and applies some simple formatting for readability.
protected _fetch ( mixed $var ) : string
$var mixed Variable to dump.
리턴 string Formatted results of var_dump().

_parms() 보호된 메소드

protected _parms ( $f )

_src2lines() 보호된 메소드

protected _src2lines ( $file )

_sub() 보호된 메소드

protected _sub ( $f )

debug() 공개 메소드

Dumps a variable for inspection.
public debug ( mixed $var ) : string
$var mixed A variable.
리턴 string Debug output of the variable.

dump() 공개 메소드

Inspired by: http://www.sitepoint.com/blogs/2006/04/04/pretty-blue-screen/ and http://www.sitepoint.com/blogs/2006/08/12/pimpin-harrys-pretty-bluescreen/. Also see for future ideas: http://mikenaberezny.com/archives/55
public dump ( Exception $e ) : string
$e Exception An exception to dump.
리턴 string Debug output of the exception.