Ignore:
Timestamp:
2013/02/18 19:09:54 (11 years ago)
Author:
shutta
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。

File:
1 edited

Legend:

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

    r22206 r22567  
    3030 * @version $Id$ 
    3131 */ 
    32 class SC_Helper_HandleError { 
     32class SC_Helper_HandleError  
     33{ 
    3334 
    3435    /** 
     
    3738     * @return void 
    3839     */ 
    39     static function load() { 
     40    static function load() 
     41    { 
    4042        // E_DEPRECATED 定数 (for PHP < 5.3) 
    4143        // TODO バージョン互換処理に統合したい。 
     
    8385     *                      E_WARNING, E_USER_WARNING が発生した場合、true を返す 
    8486     */ 
    85     static function handle_warning($errno, $errstr, $errfile, $errline) { 
     87    static function handle_warning($errno, $errstr, $errfile, $errline) 
     88    { 
    8689        // error_reporting 設定に含まれていないエラーコードは処理しない 
    8790        if (!(error_reporting() & $errno)) { 
     
    126129     *                     エラーが捕捉されない場合は, 出力バッファリングの内容を返す 
    127130     */ 
    128     static function &_fatal_error_handler(&$buffer) { 
     131    static function &_fatal_error_handler(&$buffer) 
     132    { 
    129133        if (preg_match('/<b>(Fatal error)<\/b>: +(.+) in <b>(.+)<\/b> on line <b>(\d+)<\/b><br \/>/i', $buffer, $matches = array())) { 
    130134            $message = "$matches[1]: $matches[2] on [$matches[3]($matches[4])]"; 
     
    150154     * @return void 
    151155     */ 
    152     static function handle_error() { 
     156    static function handle_error() 
     157    { 
    153158        // 最後のエラーを確実に捉えるため、先頭で呼び出す。 
    154159        $arrError = error_get_last(); 
     
    187192     * @return void 
    188193     */ 
    189     static function displaySystemError($errstr = null) { 
     194    static function displaySystemError($errstr = null) 
     195    { 
    190196        ob_clean(); 
    191197 
Note: See TracChangeset for help on using the changeset viewer.