Changeset 16190


Ignore:
Timestamp:
2007/09/30 12:56:03 (16 years ago)
Author:
nanasess
Message:
  • 関数の引数を参照渡しに修正
  • tab -> space
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/util/SC_Utils.php

    r16163 r16190  
    100100        $GLOBAL_ERR.= "<SPAN style='color:red; font-size:12px'><strong>" . $mess . "</strong></span>\n"; 
    101101        $GLOBAL_ERR.= "</td>\n"; 
    102         $GLOBAL_ERR.= " </tr>\n"; 
     102        $GLOBAL_ERR.= "    </tr>\n"; 
    103103        $GLOBAL_ERR.= "</table>\n"; 
    104104 
     
    333333    } 
    334334 
    335     function sfCheckNormalAccess(&$objSiteSess, $objCartSess) { 
     335    function sfCheckNormalAccess(&$objSiteSess, &$objCartSess) { 
    336336        // ユーザユニークIDの取得 
    337337        $uniqid = $objSiteSess->getUniqId(); 
     
    368368            $date = ""; 
    369369        } 
    370         return  $date; 
     370        return     $date; 
    371371    } 
    372372 
     
    649649 
    650650    /*-----------------------------------------------------------------*/ 
    651     /*  check_set_term 
    652     /*  年月日に別れた2つの期間の妥当性をチェックし、整合性と期間を返す 
     651    /*    check_set_term 
     652    /*    年月日に別れた2つの期間の妥当性をチェックし、整合性と期間を返す 
    653653    /* 引数 (開始年,開始月,開始日,終了年,終了月,終了日) 
    654654    /* 戻値 array(1,2,3) 
    655     /*          1.開始年月日 (YYYY/MM/DD 000000) 
    656     /*          2.終了年月日 (YYYY/MM/DD 235959) 
    657     /*          3.エラー ( 0 = OK, 1 = NG ) 
     655    /*          1.開始年月日 (YYYY/MM/DD 000000) 
     656    /*            2.終了年月日 (YYYY/MM/DD 235959) 
     657    /*            3.エラー ( 0 = OK, 1 = NG ) 
    658658    /*-----------------------------------------------------------------*/ 
    659659    function sfCheckSetTerm ( $start_year, $start_month, $start_day, $end_year, $end_month, $end_day ) { 
     
    980980    function sfGetAuthonlyResult($dir, $file_name, $name01, $name02, $card_no, $card_exp, $amount, $order_id, $jpo_info = "10"){ 
    981981 
    982         $path = $dir .$file_name;       // cgiファイルのフルパス生成 
    983         $now_dir = getcwd();            // requireがうまくいかないので、cgi実行ディレクトリに移動する 
     982        $path = $dir .$file_name;        // cgiファイルのフルパス生成 
     983        $now_dir = getcwd();            // requireがうまくいかないので、cgi実行ディレクトリに移動する 
    984984        chdir($dir); 
    985985 
     
    993993            $result .= FGETS($tmpResult); 
    994994        } 
    995         pclose($tmpResult);             //  パイプを閉じる 
    996         chdir($now_dir);                // 元にいたディレクトリに帰る 
     995        pclose($tmpResult);                //     パイプを閉じる 
     996        chdir($now_dir);                // 元にいたディレクトリに帰る 
    997997 
    998998        // 結果を連想配列へ格納 
     
    11441144        fclose($ifp); 
    11451145 
    1146         return  $outpath; 
     1146        return     $outpath; 
    11471147    } 
    11481148 
Note: See TracChangeset for help on using the changeset viewer.