EC-CUBE
Public メソッド | 変数
クラス PEAR_Error
PEAR_Errorに対する継承グラフ
Inheritance graph
[凡例]

Public メソッド

 PEAR_Error ($message= 'unknown error', $code=null, $mode=null, $options=null, $userinfo=null)
 getMode ()
 getCallback ()
 getMessage ()
 getCode ()
 getType ()
 getUserInfo ()
 getDebugInfo ()
 getBacktrace ($frame=null)
 addUserInfo ($info)
 toString ()

変数

 $error_message_prefix = ''
 $mode = PEAR_ERROR_RETURN
 $level = E_USER_NOTICE
 $code = -1
 $message = ''
 $userinfo = ''
 $backtrace = null

関数

getBacktrace ( frame = null)

Get the call backtrace from where the error was generated. Supported with PHP 4.3.0 or newer.

引数:
int$frame(optional) what frame to fetch
戻り値:
array Backtrace, or NULL if not available. public

Get the callback function/method from an error object.

戻り値:
mixed callback function or object/method array public
getCode ( )

Get error code from an error object

戻り値:
int error code public

Get additional debug information supplied by the application.

戻り値:
string debug information public

Get the error message from an error object.

戻り値:
string full error message public
getMode ( )

Get the error mode from an error object.

戻り値:
int error mode public
getType ( )

Get the name of this error/exception.

戻り値:
string error/exception name (type) public

Get additional user-supplied information.

戻り値:
string user-supplied information public
PEAR_Error ( message = 'unknown error',
code = null,
mode = null,
options = null,
userinfo = null 
)

PEAR_Error constructor

引数:
string$messagemessage
int$code(optional) error code
int$mode(optional) error mode, one of: PEAR_ERROR_RETURN, PEAR_ERROR_PRINT, PEAR_ERROR_DIE, PEAR_ERROR_TRIGGER, PEAR_ERROR_CALLBACK or PEAR_ERROR_EXCEPTION
mixed$options(optional) error level, _OR_ in the case of PEAR_ERROR_CALLBACK, the callback function or object/method tuple.
string$userinfo(optional) additional user/debug info

public

toString ( )

Make a string representation of this object.

戻り値:
string a string with an object summary public

このクラスの説明は次のファイルから生成されました:
 全て データ構造 ネームスペース 関数 変数