Ignore:
Timestamp:
2013/08/24 23:33:52 (13 years ago)
Author:
kimoto
Message:

#2043 typo修正・ソース整形・ソースコメントの改善 for 2.13.0
PHP4的な書き方の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/helper/SC_Helper_HandleError.php

    r22926 r23124  
    3737     * @return void 
    3838     */ 
    39     static function load() 
     39    public static function load() 
    4040    { 
    4141        // E_DEPRECATED 定数 (for PHP < 5.3) 
     
    7676     * (エラー画面・エラー文言は表示させない。) 
    7777     * 
    78      * @param integer $errno エラーコード 
    79      * @param string $errstr エラーメッセージ 
    80      * @param string $errfile エラーが発生したファイル名 
    81      * @param integer $errline エラーが発生した行番号 
     78     * @param  integer      $errno  エラーコード 
     79     * @param  string       $errstr エラーメッセージ 
     80     * @param  string      $errfile エラーが発生したファイル名 
     81     * @param  integer      $errline エラーが発生した行番号 
    8282     * @return void|boolean E_USER_ERROR が発生した場合は, エラーページへリダイレクト; 
    8383     *                      E_WARNING, E_USER_WARNING が発生した場合、true を返す 
    8484     */ 
    85     static function handle_warning($errno, $errstr, $errfile, $errline) 
     85    public static function handle_warning($errno, $errstr, $errfile, $errline) 
    8686    { 
    8787        // error_reporting 設定に含まれていないエラーコードは処理しない 
     
    107107                $message = "Warning($error_type_name): $errstr on [$errfile($errline)]"; 
    108108                GC_Utils_Ex::gfPrintLog($message, ERROR_LOG_REALFILE); 
     109 
    109110                return true; 
    110111 
     
    123124     * エラーページへリダイレクトする. 
    124125     * 
    125      * @param string $buffer 出力バッファリングの内容 
     126     * @param  string      $buffer 出力バッファリングの内容 
    126127     * @return string|void エラーが捕捉された場合は, エラーページへリダイレクトする; 
    127128     *                     エラーが捕捉されない場合は, 出力バッファリングの内容を返す 
     
    153154     * @return void 
    154155     */ 
    155     static function handle_error() 
     156    public static function handle_error() 
    156157    { 
    157158        // 最後のエラーを確実に捉えるため、先頭で呼び出す。 
     
    188189     * エラー画面を表示する 
    189190     * 
    190      * @param string|null $errstr エラーメッセージ 
     191     * @param  string|null $errstr エラーメッセージ 
    191192     * @return void 
    192193     */ 
    193     static function displaySystemError($errstr = null) 
     194    public static function displaySystemError($errstr = null) 
    194195    { 
    195196        ob_clean(); 
Note: See TracChangeset for help on using the changeset viewer.