PHP 클래스 GBException, gitblog

상속: extends Exception
파일 보기 프로젝트 열기: rsms/gitblog 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$css
$is_php53

보호된 프로퍼티들

프로퍼티 타입 설명
$_previous

공개 메소드들

메소드 설명
__construct ( $msg = null, $code, $previous = null, $file = null, $line )
__toString ( ) : string
format ( Exception $e, $includingTrace = true, $html = null, $skip = null, $context_lines = 2 ) : string Render a full HTML description of an exception
formatFrame ( $ti, $html = null, $context_lines = 2 )
formatHTMLBlock ( Exception $e, $includingTrace = true, $skip = null, $context_lines = 2, $inc_css = true )
formatHTMLDocument ( Exception $e, $includingTrace = true, $skip = null, $context_lines = 2 )
formatHtml ( Exception $e, $includingTrace = true, $skip = null, $context_lines = 2 ) : string Convenience method equivalent to calling self::format with $html=true.
formatMessage ( $html = null ) Get message for formatting. Subclasses can add additional information to the message here.
formatPlain ( Exception $e, $includingTrace = true, $skip = null, $context_lines = 2 ) : string Convenience method equivalent to calling self::format with $html=false.
formatSourceLines ( $file, $line, $html = null, $lines = 2 )
formatTrace ( Exception $e, $html = null, $skip = null, $context_lines = 2 ) : string Render a nice output of a backtrace from an exception
getPreviousCompat ( $e, $default = null )
setFile ( $msg ) set $file
setLine ( $msg ) set $line
setMessage ( $msg ) set $message
toHTML ( ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( $msg = null, $code, $previous = null, $file = null, $line )

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

format() 공개 정적인 메소드

Render a full HTML description of an exception
또한 보기: formatTrace()
public static format ( Exception $e, $includingTrace = true, $html = null, $skip = null, $context_lines = 2 ) : string
$e Exception
리턴 string

formatFrame() 공개 정적인 메소드

public static formatFrame ( $ti, $html = null, $context_lines = 2 )

formatHTMLBlock() 공개 정적인 메소드

public static formatHTMLBlock ( Exception $e, $includingTrace = true, $skip = null, $context_lines = 2, $inc_css = true )
$e Exception

formatHTMLDocument() 공개 정적인 메소드

public static formatHTMLDocument ( Exception $e, $includingTrace = true, $skip = null, $context_lines = 2 )
$e Exception

formatHtml() 공개 정적인 메소드

Convenience method equivalent to calling self::format with $html=true.
또한 보기: format()
또한 보기: formatPlain()
public static formatHtml ( Exception $e, $includingTrace = true, $skip = null, $context_lines = 2 ) : string
$e Exception
리턴 string

formatMessage() 공개 메소드

Get message for formatting. Subclasses can add additional information to the message here.
public formatMessage ( $html = null )

formatPlain() 공개 정적인 메소드

Convenience method equivalent to calling self::format with $html=false.
또한 보기: format()
또한 보기: formatHtml()
public static formatPlain ( Exception $e, $includingTrace = true, $skip = null, $context_lines = 2 ) : string
$e Exception
리턴 string

formatSourceLines() 공개 정적인 메소드

public static formatSourceLines ( $file, $line, $html = null, $lines = 2 )

formatTrace() 공개 정적인 메소드

The skip parameter - To skip a plain function, simply specify the function name. i.e. "__errorhandler" - To skip a class or instance method, specify "Class::methodName"
또한 보기: format()
public static formatTrace ( Exception $e, $html = null, $skip = null, $context_lines = 2 ) : string
$e Exception
리턴 string

getPreviousCompat() 공개 정적인 메소드

public static getPreviousCompat ( $e, $default = null )

setFile() 공개 메소드

set $file
public setFile ( $msg )

setLine() 공개 메소드

set $line
public setLine ( $msg )

setMessage() 공개 메소드

set $message
public setMessage ( $msg )

toHTML() 공개 메소드

public toHTML ( ) : string
리턴 string

프로퍼티 상세

$_previous 보호되어 있는 프로퍼티

protected $_previous

$css 공개적으로 정적으로 프로퍼티

public static $css

$is_php53 공개적으로 정적으로 프로퍼티

public static $is_php53