Changeset 21935 for branches/version-2_12-dev/data/class/helper
- Timestamp:
- 2012/06/21 15:02:41 (14 years ago)
- Location:
- branches/version-2_12-dev/data/class/helper
- Files:
-
- 5 edited
-
SC_Helper_CSV.php (modified) (1 diff)
-
SC_Helper_Mail.php (modified) (1 diff)
-
SC_Helper_Mobile.php (modified) (1 diff)
-
SC_Helper_PageLayout.php (modified) (2 diffs)
-
SC_Helper_Purchase.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_CSV.php
r21927 r21935 277 277 } 278 278 279 foreach ( array_keys($fields) as $key) {279 foreach ($fields as $key => $value) { 280 280 $field =& $fields[$key]; 281 281 -
branches/version-2_12-dev/data/class/helper/SC_Helper_Mail.php
r21927 r21935 137 137 $objQuery->setOrder('shipping_id'); 138 138 $arrRet = $objQuery->select('*', 'dtb_shipping', 'order_id = ?', array($order_id)); 139 foreach ( array_keys($arrRet) as $key) {139 foreach ($arrRet as $key => $value) { 140 140 $objQuery->setOrder('shipping_id'); 141 141 $arrItems = $objQuery->select('*', 'dtb_shipment_item', 'order_id = ? AND shipping_id = ?', -
branches/version-2_12-dev/data/class/helper/SC_Helper_Mobile.php
r21927 r21935 96 96 function lfMobileConvertInputValue(&$value) { 97 97 if (is_array($value)) { 98 foreach ( array_keys($value) as $key) {98 foreach ($value as $key => $val) { 99 99 $this->lfMobileConvertInputValue($value[$key]); 100 100 } -
branches/version-2_12-dev/data/class/helper/SC_Helper_PageLayout.php
r21927 r21935 75 75 $arrBlocs = $objPlugin->getEnableBlocs($arrBlocs); 76 76 // php_path, tpl_path が存在するものを, 各ターゲットに配置 77 foreach ( array_keys($arrTarget) as $target_id) {77 foreach ($arrTarget as $target_id => $value) { 78 78 foreach ($arrBlocs as $arrBloc) { 79 79 if ($arrBloc['target_id'] != $target_id) { … … 324 324 */ 325 325 function setBlocPathTo($device_type_id = DEVICE_TYPE_PC, &$arrBlocs = array()) { 326 foreach ( array_keys($arrBlocs) as $key) {326 foreach ($arrBlocs as $key => $value) { 327 327 $arrBloc =& $arrBlocs[$key]; 328 328 $arrBloc['php_path'] = SC_Utils_Ex::isBlank($arrBloc['php_path']) ? '' : HTML_REALDIR . $arrBloc['php_path']; -
branches/version-2_12-dev/data/class/helper/SC_Helper_Purchase.php
r21927 r21935 317 317 function clearShipmentItemTemp($shipping_id = null) { 318 318 if (is_null($shipping_id)) { 319 foreach ( array_keys($_SESSION['shipping']) as $key) {319 foreach ($_SESSION['shipping'] as $key => $value) { 320 320 $this->clearShipmentItemTemp($key); 321 321 } … … 1036 1036 */ 1037 1037 function setDownloadableFlgTo(&$arrOrderDetail) { 1038 foreach ( array_keys($arrOrderDetail) as $key) {1038 foreach ($arrOrderDetail as $key => $value) { 1039 1039 // 販売価格が 0 円 1040 1040 if ($arrOrderDetail[$key]['price'] == '0') { … … 1072 1072 1073 1073 if ($has_items) { 1074 foreach ( array_keys($arrResults) as $shipping_id) {1074 foreach ($arrResults as $shipping_id => $value) { 1075 1075 $arrResults[$shipping_id]['shipment_item'] 1076 1076 =& $this->getShipmentItems($order_id, $shipping_id);
Note: See TracChangeset
for help on using the changeset viewer.
