Ignore:
Timestamp:
2007/08/03 21:22:52 (15 years ago)
Author:
nanasess
Message:

slib.php のクラス化対応

File:
1 edited

Legend:

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

    r15080 r15177  
    8181                $price = $_SESSION[$this->key][$i]['price']; 
    8282                $quantity = $_SESSION[$this->key][$i]['quantity']; 
    83                 $pre_tax = sfPreTax($price, $arrInfo['tax'], $arrInfo['tax_rule']); 
     83                $pre_tax = SC_Utils_Ex::sfPreTax($price, $arrInfo['tax'], $arrInfo['tax_rule']); 
    8484                $total = $pre_tax * $quantity; 
    8585                return $total; 
     
    149149            $price = $_SESSION[$this->key][$i]['price']; 
    150150            $quantity = $_SESSION[$this->key][$i]['quantity']; 
    151             $tax = sfTax($price, $arrInfo['tax'], $arrInfo['tax_rule']); 
     151            $tax = SC_Utils_Ex::sfTax($price, $arrInfo['tax'], $arrInfo['tax_rule']); 
    152152            $total+= ($tax * $quantity); 
    153153        } 
     
    165165            $point_rate = $_SESSION[$this->key][$i]['point_rate']; 
    166166            $id = $_SESSION[$this->key][$i]['id'][0]; 
    167             $point = sfPrePoint($price, $point_rate, POINT_RULE, $id); 
     167            $point = SC_Utils_Ex::sfPrePoint($price, $point_rate, POINT_RULE, $id); 
    168168            $total+= ($point * $quantity); 
    169169        } 
Note: See TracChangeset for help on using the changeset viewer.