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.php

    r21420 r21441  
    9898        $this->arrForm = $objFormParam->getFormParamList(); 
    9999 
    100         switch($this->getMode()) { 
     100        switch ($this->getMode()) { 
    101101        // 削除 
    102102        case 'delete': 
     
    119119                $where = "del_flg = 0"; 
    120120                foreach ($arrParam as $key => $val) { 
    121                     if($val == "") { 
     121                    if ($val == "") { 
    122122                        continue; 
    123123                    } 
     
    130130                 * 処理を実行 
    131131                 * ----------------------------------------------- */ 
    132                 switch($this->getMode()) { 
     132                switch ($this->getMode()) { 
    133133                // CSVを送信する。 
    134134                case 'csv': 
     
    290290        case 'search_order_sex': 
    291291            $tmp_where = ""; 
    292             foreach($objFormParam->getValue($key) as $element) { 
    293                 if($element != "") { 
    294                     if(SC_Utils_Ex::isBlank($tmp_where)) { 
     292            foreach ($objFormParam->getValue($key) as $element) { 
     293                if ($element != "") { 
     294                    if (SC_Utils_Ex::isBlank($tmp_where)) { 
    295295                        $tmp_where .= " AND (order_sex = ?"; 
    296296                    } else { 
     
    301301            } 
    302302 
    303             if(!SC_Utils_Ex::isBlank($tmp_where)) { 
     303            if (!SC_Utils_Ex::isBlank($tmp_where)) { 
    304304                $tmp_where .= ")"; 
    305305                $where .= " $tmp_where "; 
     
    316316        case 'search_payment_id': 
    317317            $tmp_where = ""; 
    318             foreach($objFormParam->getValue($key) as $element) { 
    319                 if($element != "") { 
    320                     if($tmp_where == "") { 
     318            foreach ($objFormParam->getValue($key) as $element) { 
     319                if ($element != "") { 
     320                    if ($tmp_where == "") { 
    321321                        $tmp_where .= " AND (payment_id = ?"; 
    322322                    } else { 
     
    327327            } 
    328328 
    329             if(!SC_Utils_Ex::isBlank($tmp_where)) { 
     329            if (!SC_Utils_Ex::isBlank($tmp_where)) { 
    330330                $tmp_where .= ")"; 
    331331                $where .= " $tmp_where "; 
     
    417417    function doOutputCSV($where, $arrVal, $order) { 
    418418        require_once CLASS_EX_REALDIR . 'helper_extends/SC_Helper_CSV_Ex.php'; 
    419         if($where != "") { 
     419        if ($where != "") { 
    420420            $where = " WHERE $where "; 
    421421        } 
Note: See TracChangeset for help on using the changeset viewer.