Ignore:
Timestamp:
2012/03/26 21:11:24 (12 years ago)
Author:
Seasoft
Message:

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

Location:
branches/version-2_12-dev/data/class
Files:
5 edited

Legend:

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

    r21681 r21683  
    856856 
    857857            // プラグイン名重複を削除する為、専用の配列に格納し直す. 
    858             foreach($conflictPlugins as $conflictPlugin){ 
     858            foreach ($conflictPlugins as $conflictPlugin) { 
    859859                // プラグイン名が見つからなければ配列に格納 
    860                 if( !in_array( $conflictPlugin['plugin_name'], $arrConflictPluginName ) ) { 
     860                if (!in_array($conflictPlugin['plugin_name'], $arrConflictPluginName)) { 
    861861                    $arrConflictPluginName[] = $conflictPlugin['plugin_name']; 
    862862                } 
     
    882882        return false; 
    883883    } 
    884      
     884 
    885885    /** 
    886886     * プラグインIDからフックポイントを取得します, 
     
    891891    function getHookPoint($plugin_id) { 
    892892        $objQuery =& SC_Query_Ex::getSingletonInstance();  
    893          
     893 
    894894        $table = 'dtb_plugin_hookpoint'; 
    895895        $where = 'plugin_id = ?'; 
  • branches/version-2_12-dev/data/class/pages/entry/LC_Page_Entry.php

    r21679 r21683  
    9797        switch ($this->getMode()) { 
    9898            case 'confirm': 
    99                 if(isset($_POST['submit_address'])){ 
     99                if (isset($_POST['submit_address'])) { 
    100100                    // 入力エラーチェック 
    101101                    $this->arrErr = $this->fnErrorCheck($_POST); 
     
    107107                        // 郵便番号検索 
    108108                        $arrAdsList = SC_Utils_Ex::sfGetAddress($zipcode); 
    109      
     109 
    110110                        // 郵便番号が発見された場合 
    111111                        if (!empty($arrAdsList)) { 
    112112                            $data['pref'] = $arrAdsList[0]['state']; 
    113113                            $data['addr01'] = $arrAdsList[0]['city']. $arrAdsList[0]['town']; 
    114                 $objFormParam->setParam($data); 
     114                            $objFormParam->setParam($data); 
    115115 
    116116                            // 該当無し 
     
    119119                        } 
    120120                    } 
    121             $this->arrForm  = $objFormParam->getHashArray(); 
    122             break; 
    123         } 
     121                    $this->arrForm  = $objFormParam->getHashArray(); 
     122                    break; 
     123                } 
    124124 
    125125                //-- 確認 
     
    316316        $objFormParam->addParam('郵便番号2', 'zip02', ZIP02_LEN, 'n', array('EXIST_CHECK', 'NUM_COUNT_CHECK', 'NUM_CHECK')); 
    317317        // // リクエスト値をセット 
    318     $arrData['zip01'] = $arrRequest['zip01']; 
    319     $arrData['zip02'] = $arrRequest['zip02']; 
     318        $arrData['zip01'] = $arrRequest['zip01']; 
     319        $arrData['zip02'] = $arrRequest['zip02']; 
    320320        $objFormParam->setParam($arrData); 
    321321        // エラーチェック 
  • branches/version-2_12-dev/data/class/pages/mypage/LC_Page_Mypage_Change.php

    r21679 r21683  
    9696            // 確認 
    9797            case 'confirm': 
    98                 if(isset($_POST['submit_address'])){ 
     98                if (isset($_POST['submit_address'])) { 
    9999                    // 入力エラーチェック 
    100100                    $this->arrErr = $this->fnErrorCheck($_POST); 
     
    106106                        // 郵便番号検索 
    107107                        $arrAdsList = SC_Utils_Ex::sfGetAddress($zipcode); 
    108      
     108 
    109109                        // 郵便番号が発見された場合 
    110110                        if (!empty($arrAdsList)) { 
    111111                            $data['pref'] = $arrAdsList[0]['state']; 
    112112                            $data['addr01'] = $arrAdsList[0]['city']. $arrAdsList[0]['town']; 
    113                 $objFormParam->setParam($data); 
    114  
    115                             // 該当無し 
    116                         } else { 
     113                            $objFormParam->setParam($data); 
     114 
     115                        } 
     116                        // 該当無し 
     117                        else { 
    117118                            $this->arrErr['zip01'] = '※該当する住所が見つかりませんでした。<br>'; 
    118119                        } 
    119120                    } 
    120             $this->arrForm  = $objFormParam->getHashArray(); 
    121             break; 
    122         } 
     121                    $this->arrForm  = $objFormParam->getHashArray(); 
     122                    break; 
     123                } 
    123124                $this->arrErr = SC_Helper_Customer_Ex::sfCustomerMypageErrorCheck($objFormParam); 
    124125                $this->arrForm = $objFormParam->getHashArray(); 
     
    203204        $objFormParam->addParam('郵便番号2', 'zip02', ZIP02_LEN, 'n', array('EXIST_CHECK', 'NUM_COUNT_CHECK', 'NUM_CHECK')); 
    204205        // // リクエスト値をセット 
    205     $arrData['zip01'] = $arrRequest['zip01']; 
    206     $arrData['zip02'] = $arrRequest['zip02']; 
     206        $arrData['zip01'] = $arrRequest['zip01']; 
     207        $arrData['zip02'] = $arrRequest['zip02']; 
    207208        $objFormParam->setParam($arrData); 
    208209        // エラーチェック 
  • branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Detail.php

    r21678 r21683  
    466466 
    467467        $objQuery->setOrder('rank DESC'); 
    468         $arrRecommendData = $objQuery->select("recommend_product_id, comment", "dtb_recommend_products as t1 left join dtb_products as t2 on t1.recommend_product_id = t2.product_id", "t1.product_id = ? and t2.del_flg = 0 and t2.status = 1", array($product_id)); 
     468        $arrRecommendData = $objQuery->select('recommend_product_id, comment', 'dtb_recommend_products as t1 left join dtb_products as t2 on t1.recommend_product_id = t2.product_id', 't1.product_id = ? and t2.del_flg = 0 and t2.status = 1', array($product_id)); 
    469469 
    470470        $arrRecommendProductId = array(); 
  • branches/version-2_12-dev/data/class/plugin/SC_Plugin_Util.php

    r21681 r21683  
    2424// 棒グラフ生成クラス 
    2525class SC_Plugin_Util { 
    26      
    27      
    28      
     26 
     27 
     28 
    2929    /** 
    3030     * 稼働中のプラグインを取得する。 
     
    7676        return $plugin; 
    7777    } 
    78      
    79      
     78 
     79 
    8080    /** 
    8181     * プラグインコードをキーにプラグインを取得する。 
Note: See TracChangeset for help on using the changeset viewer.