Ignore:
Timestamp:
2013/03/01 10:40:00 (8 years ago)
Author:
pineray
Message:

#2166 親ID配列取得の効率化

File:
1 edited

Legend:

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

    r22581 r22590  
    343343        $arrRet = $objQuery->select($col, $from, $where); 
    344344 
    345         $arrParentID = SC_Helper_DB_Ex::sfGetParents('dtb_category', 'parent_category_id', 'category_id', $parent_category_id); 
     345        $arrParentID = SC_Utils_Ex::getTreeTrail($parent_category_id, 'category_id', 'parent_category_id', $arrRet); 
    346346 
    347347        foreach ($arrRet as $key => $array) { 
Note: See TracChangeset for help on using the changeset viewer.