Changeset 22593
- Timestamp:
- 2013/03/01 21:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_Product.php
r22567 r22593 183 183 184 184 // 配列のキーを商品IDに 185 $arrTmp = array(); 186 foreach ($arrProducts as $arrProduct) { 187 $arrTmp[$arrProduct['product_id']] = $arrProduct; 188 } 189 $arrProducts =& $arrTmp; 190 unset($arrTmp); 185 $arrProducts = SC_Utils_Ex::makeArrayIDToKey('product_id', $arrProducts); 191 186 192 187 // SC_Query::setOrder() の指定がない場合、$arrProductId で指定された商品IDの順に配列要素を並び替え
Note: See TracChangeset
for help on using the changeset viewer.