Ignore:
Timestamp:
2010/12/16 23:12:59 (15 years ago)
Author:
Seasoft
Message:

#855(SC_Query の #select, #getRow, #getCol, #get, #min, #max の引数順を統一する)

  • SC_Query#get を改訂
File:
1 edited

Legend:

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

    r19711 r19729  
    865865 
    866866    function sfGetProductClassId($product_id, $classcategory_id1, $classcategory_id2) { 
    867         // $where = "product_id = ? AND classcategory_id1 = ? AND classcategory_id2 = ?"; 
    868867        $where = "product_id = ?"; 
    869868        $objQuery = new SC_Query(); 
    870         // $ret = $objQuery->get("dtb_products_class", "product_class_id", $where, Array($product_id, $classcategory_id1, $classcategory_id2)); 
    871         $ret = $objQuery->get("dtb_products_class", "product_class_id", $where, Array($product_id)); 
     869        $ret = $objQuery->get("product_class_id", "dtb_products_class", $where, Array($product_id)); 
    872870        return $ret; 
    873871    } 
Note: See TracChangeset for help on using the changeset viewer.