Ignore:
Timestamp:
2012/02/06 11:05:15 (12 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php

    r21424 r21441  
    205205        $bind = array(); 
    206206        foreach ($arrForm as $key => $val) { 
    207             if($val == "") { 
     207            if ($val == "") { 
    208208                continue; 
    209209            } 
     
    216216                case 'search_category_id': 
    217217                    list($tmp_where, $tmp_bind) = $objDb->sfGetCatWhere($val); 
    218                     if($tmp_where != "") { 
     218                    if ($tmp_where != "") { 
    219219                        $where.= " AND alldtl.product_id IN (SELECT product_id FROM dtb_product_categories WHERE " . $tmp_where . ")"; 
    220220                        $bind = array_merge((array)$bind, (array)$tmp_bind); 
     
    241241     */ 
    242242    function getNo($globalParams){ 
    243         foreach ($globalParams as $params){ 
    244             if(isset($params['no']) && $params['no']!= ''){ 
     243        foreach ($globalParams as $params) { 
     244            if (isset($params['no']) && $params['no']!= '') { 
    245245                return intval($params['no']); 
    246246            } 
     
    256256    function sortProducts($arrProduct_id,$productList){ 
    257257        $products  = array(); 
    258         foreach($productList as $item) { 
     258        foreach ($productList as $item) { 
    259259            $products[ $item['product_id'] ] = $item; 
    260260        } 
    261261        $arrProducts = array(); 
    262         foreach($arrProduct_id as $product_id) { 
     262        foreach ($arrProduct_id as $product_id) { 
    263263            $arrProducts[] = $products[$product_id]; 
    264264        } 
Note: See TracChangeset for help on using the changeset viewer.