Changeset 21683 for branches/version-2_12-dev/data/class
- Timestamp:
- 2012/03/26 21:11:24 (14 years ago)
- Location:
- branches/version-2_12-dev/data/class
- Files:
-
- 5 edited
-
pages/admin/system/LC_Page_Admin_System_Plugin.php (modified) (3 diffs)
-
pages/entry/LC_Page_Entry.php (modified) (4 diffs)
-
pages/mypage/LC_Page_Mypage_Change.php (modified) (3 diffs)
-
pages/products/LC_Page_Products_Detail.php (modified) (1 diff)
-
plugin/SC_Plugin_Util.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/system/LC_Page_Admin_System_Plugin.php
r21681 r21683 856 856 857 857 // プラグイン名重複を削除する為、専用の配列に格納し直す. 858 foreach ($conflictPlugins as $conflictPlugin){858 foreach ($conflictPlugins as $conflictPlugin) { 859 859 // プラグイン名が見つからなければ配列に格納 860 if ( !in_array( $conflictPlugin['plugin_name'], $arrConflictPluginName )) {860 if (!in_array($conflictPlugin['plugin_name'], $arrConflictPluginName)) { 861 861 $arrConflictPluginName[] = $conflictPlugin['plugin_name']; 862 862 } … … 882 882 return false; 883 883 } 884 884 885 885 /** 886 886 * プラグインIDからフックポイントを取得します, … … 891 891 function getHookPoint($plugin_id) { 892 892 $objQuery =& SC_Query_Ex::getSingletonInstance(); 893 893 894 894 $table = 'dtb_plugin_hookpoint'; 895 895 $where = 'plugin_id = ?'; -
branches/version-2_12-dev/data/class/pages/entry/LC_Page_Entry.php
r21679 r21683 97 97 switch ($this->getMode()) { 98 98 case 'confirm': 99 if (isset($_POST['submit_address'])){99 if (isset($_POST['submit_address'])) { 100 100 // 入力エラーチェック 101 101 $this->arrErr = $this->fnErrorCheck($_POST); … … 107 107 // 郵便番号検索 108 108 $arrAdsList = SC_Utils_Ex::sfGetAddress($zipcode); 109 109 110 110 // 郵便番号が発見された場合 111 111 if (!empty($arrAdsList)) { 112 112 $data['pref'] = $arrAdsList[0]['state']; 113 113 $data['addr01'] = $arrAdsList[0]['city']. $arrAdsList[0]['town']; 114 $objFormParam->setParam($data);114 $objFormParam->setParam($data); 115 115 116 116 // 該当無し … … 119 119 } 120 120 } 121 $this->arrForm = $objFormParam->getHashArray();122 break;123 }121 $this->arrForm = $objFormParam->getHashArray(); 122 break; 123 } 124 124 125 125 //-- 確認 … … 316 316 $objFormParam->addParam('郵便番号2', 'zip02', ZIP02_LEN, 'n', array('EXIST_CHECK', 'NUM_COUNT_CHECK', 'NUM_CHECK')); 317 317 // // リクエスト値をセット 318 $arrData['zip01'] = $arrRequest['zip01'];319 $arrData['zip02'] = $arrRequest['zip02'];318 $arrData['zip01'] = $arrRequest['zip01']; 319 $arrData['zip02'] = $arrRequest['zip02']; 320 320 $objFormParam->setParam($arrData); 321 321 // エラーチェック -
branches/version-2_12-dev/data/class/pages/mypage/LC_Page_Mypage_Change.php
r21679 r21683 96 96 // 確認 97 97 case 'confirm': 98 if (isset($_POST['submit_address'])){98 if (isset($_POST['submit_address'])) { 99 99 // 入力エラーチェック 100 100 $this->arrErr = $this->fnErrorCheck($_POST); … … 106 106 // 郵便番号検索 107 107 $arrAdsList = SC_Utils_Ex::sfGetAddress($zipcode); 108 108 109 109 // 郵便番号が発見された場合 110 110 if (!empty($arrAdsList)) { 111 111 $data['pref'] = $arrAdsList[0]['state']; 112 112 $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 { 117 118 $this->arrErr['zip01'] = '※該当する住所が見つかりませんでした。<br>'; 118 119 } 119 120 } 120 $this->arrForm = $objFormParam->getHashArray();121 break;122 }121 $this->arrForm = $objFormParam->getHashArray(); 122 break; 123 } 123 124 $this->arrErr = SC_Helper_Customer_Ex::sfCustomerMypageErrorCheck($objFormParam); 124 125 $this->arrForm = $objFormParam->getHashArray(); … … 203 204 $objFormParam->addParam('郵便番号2', 'zip02', ZIP02_LEN, 'n', array('EXIST_CHECK', 'NUM_COUNT_CHECK', 'NUM_CHECK')); 204 205 // // リクエスト値をセット 205 $arrData['zip01'] = $arrRequest['zip01'];206 $arrData['zip02'] = $arrRequest['zip02'];206 $arrData['zip01'] = $arrRequest['zip01']; 207 $arrData['zip02'] = $arrRequest['zip02']; 207 208 $objFormParam->setParam($arrData); 208 209 // エラーチェック -
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Detail.php
r21678 r21683 466 466 467 467 $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)); 469 469 470 470 $arrRecommendProductId = array(); -
branches/version-2_12-dev/data/class/plugin/SC_Plugin_Util.php
r21681 r21683 24 24 // 棒グラフ生成クラス 25 25 class SC_Plugin_Util { 26 27 28 26 27 28 29 29 /** 30 30 * 稼働中のプラグインを取得する。 … … 76 76 return $plugin; 77 77 } 78 79 78 79 80 80 /** 81 81 * プラグインコードをキーにプラグインを取得する。
Note: See TracChangeset
for help on using the changeset viewer.
