Ignore:
Timestamp:
2010/11/24 05:30:01 (16 years ago)
Author:
Seasoft
Message:

#627(ソース整形・ソースコメントの改善)

  • 「pretax」は収入に関する税込みを意味する英単語だと思いますので、より適切と考えられる「including tax」を基にした単語「inctax」に書き換えます。またメソッド名としては「calculate」を基にした「calc」を前置するように改めます。英文法・命名規則的に正しいか確信はないのですが少なくとも現状よりは理想に近づくと考えます。
File:
1 edited

Legend:

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

    r19675 r19680  
    807807     * @return integer 税金付与した金額 
    808808     */ 
    809     function sfPreTax($price, $tax, $tax_rule) { 
     809    function sfCalcIncTax($price, $tax, $tax_rule) { 
    810810        return $price + SC_Utils_Ex::sfTax($price, $tax, $tax_rule); 
    811811    } 
Note: See TracChangeset for help on using the changeset viewer.