Ignore:
Timestamp:
2014/08/27 18:45:58 (12 years ago)
Author:
kimoto
Message:

#2448 typo修正・ソース整形・ソースコメントの改善 for 2.13.3

Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
 https://scrutinizer-ci.com/g/nobuhiko/EC-CUBE/inspections/d8722894-69a6-4b1b-898d-43618035c60d

Enabled analysis tools:

  • PHP Analyzer
  • PHP PDepend
  • PHP Similarity Analyzer
  • PHP Change Tracking Analyzer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/util/SC_Utils.php

    r23590 r23605  
    125125 
    126126    // 装飾付きエラーメッセージの表示 
     127 
     128    /** 
     129     * @param string $mess 
     130     */ 
    127131    public static function sfErrorHeader($mess, $print = false) 
    128132    { 
     
    285289 
    286290    /* DB用日付日時文字列取得 */ 
     291 
     292    /** 
     293     * @param string $month 
     294     * @param string $day 
     295     * @param string $hour 
     296     * @param string $minutes 
     297     */ 
    287298    public static function sfGetTimestampistime($year, $month, $day, $hour, $minutes, $last = false) 
    288299    { 
     
    333344    } 
    334345 
     346    /** 
     347     * @param string $data 
     348     */ 
    335349    public static function sfGetCSVData($data, $prefix = '') 
    336350    { 
     
    502516 
    503517    // キーと値をセットした配列を取得 
     518 
     519    /** 
     520     * @param string $valname 
     521     */ 
    504522    public static function sfArrKeyValue($arrList, $keyname, $valname, $len_max = '', $keysize = '') 
    505523    { 
     
    699717     *     XXX integer のみか不明 
    700718     * @param  integer $tax_rule 端数処理 
    701      * @return integer 税金額 
     719     * @return double 税金額 
    702720     */ 
    703721    public static function sfTax($price, $tax, $tax_rule) 
     
    719737     *     XXX integer のみか不明 
    720738     * @param  integer $tax_rule 端数処理 
    721      * @return integer 税金付与した金額 
     739     * @return double 税金付与した金額 
    722740     */ 
    723741    public static function sfCalcIncTax($price, $tax, $tax_rule) 
     
    751769     * @param  float $point_rate 
    752770     * @param  int   $rule 
    753      * @return int 
     771     * @return double 
    754772     */ 
    755773    public static function sfPrePoint($price, $point_rate, $rule = POINT_RULE) 
     
    11361154 
    11371155    /* 階層構造のテーブルから与えられたIDの直属の子を取得する */ 
     1156 
     1157    /** 
     1158     * @param string $pid_name 
     1159     * @param string $id_name 
     1160     */ 
    11381161    public static function sfGetUnderChildrenArray($arrData, $pid_name, $id_name, $parent) 
    11391162    { 
     
    11981221 
    11991222    // ディレクトリ以下のファイルを再帰的にコピー 
     1223 
     1224    /** 
     1225     * @param string $src 
     1226     * @param string $des 
     1227     */ 
    12001228    public static function sfCopyDir($src, $des, $mess = '', $override = false) 
    12011229    { 
     
    13301358     * 
    13311359     * @param  array $array         添字をチェックする配列 
    1332      * @param  array $defineIndexes チェックする添字 
     1360     * @param  string[] $defineIndexes チェックする添字 
    13331361     * @return array 添字を定義した配列 
    13341362     */ 
     
    15381566 
    15391567    // 郵便番号から住所の取得 
     1568 
     1569    /** 
     1570     * @param string $zipcode 
     1571     */ 
    15401572    public static function sfGetAddress($zipcode) 
    15411573    { 
     
    18151847     * ディレクトリを再帰的に作成する. 
    18161848     * 
    1817      * @param  string  $pathname ディレクトリのパス 
    18181849     * @param  integer $mode     作成するディレクトリのパーミッション 
     1850     * @param string $path 
    18191851     * @return boolean 作成に成功した場合 true; 失敗した場合 false 
    18201852     * @see http://jp.php.net/mkdir 
     
    21172149     * マイクロ秒付きの時間文字列を取得する. 
    21182150     * 
    2119      * @return bool|string 
     2151     * @return string 
    21202152     */ 
    21212153    public static function getFormattedDateWithMicroSecond() 
Note: See TracChangeset for help on using the changeset viewer.