PHP 클래스 TI_Exceptions, TastyIgniter

상속: extends CI_Exceptions
파일 보기 프로젝트 열기: tastyigniter/tastyigniter

공개 메소드들

메소드 설명
show_error ( string $heading, string | string[] $message, string $template = 'error_general', integer $status_code = 500 ) : string General Error Page
show_exception ( $exception ) --------------------------------------------------------------------
show_php_error ( integer $severity, string $message, string $filepath, integer $line ) : string Native PHP error handler

보호된 메소드들

메소드 설명
getErrorViewsPath ( ) : mixed | string

메소드 상세

getErrorViewsPath() 보호된 메소드

protected getErrorViewsPath ( ) : mixed | string
리턴 mixed | string

show_error() 공개 메소드

Takes an error message as input (either as a string or an array) and displays it using the specified template.
public show_error ( string $heading, string | string[] $message, string $template = 'error_general', integer $status_code = 500 ) : string
$heading string Page heading
$message string | string[] Error message
$template string Template name
$status_code integer (default: 500)
리턴 string Error page output

show_exception() 공개 메소드

--------------------------------------------------------------------
public show_exception ( $exception )

show_php_error() 공개 메소드

Native PHP error handler
public show_php_error ( integer $severity, string $message, string $filepath, integer $line ) : string
$severity integer Error level
$message string Error message
$filepath string File path
$line integer Line number
리턴 string Error page output