Changeset 21979


Ignore:
Timestamp:
2012/07/28 23:37:27 (12 years ago)
Author:
Seasoft
Message:

#1904 (SC_CartSession#getAllProductID 正しく動作しない)

File:
1 edited

Legend:

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

    r21935 r21979  
    388388    } 
    389389 
    390     // カート内にある商品IDを全て取得する 
    391390    /** 
    392391     * @deprected getAllProductClassID を使用して下さい 
    393392     */ 
    394393    function getAllProductID($productTypeId) { 
    395         $max = $this->getMax($productTypeId); 
    396         $productIDs = array(); 
    397         for ($i = 0; $i <= $max; $i++) { 
    398             if ($this->cartSession[$productTypeId][$i]['cart_no'] != '') { 
    399                 $productIDs[] = $this->cartSession[$productTypeId][$i]['id'][0]; 
    400             } 
    401         } 
    402         return $productIDs; 
     394        trigger_error('正しく動作しないメソッドが呼び出されました。', E_USER_ERROR); 
    403395    } 
    404396 
Note: See TracChangeset for help on using the changeset viewer.