Changeset 22625
- Timestamp:
- 2013/03/09 16:20:01 (11 years ago)
- Location:
- branches/camp/camp-2_13-tests/data
- Files:
-
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_13-tests/data/class/helper/SC_Helper_BestProducts.php
r22582 r22625 29 29 * @version $Id:$ 30 30 */ 31 class SC_Helper_ Recommend31 class SC_Helper_BestProducts 32 32 { 33 33 /** … … 38 38 * @return array 39 39 */ 40 public function get ($best_id, $has_deleted = false)40 public function getBestProducts($best_id, $has_deleted = false) 41 41 { 42 42 $objQuery =& SC_Query_Ex::getSingletonInstance(); -
branches/camp/camp-2_13-tests/data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.php
r22582 r22625 79 79 $arrPost = $objFormParam->getHashArray(); 80 80 81 $objRecommend = new SC_Helper_ Recommend_Ex();81 $objRecommend = new SC_Helper_BestProducts_Ex(); 82 82 83 83 switch ($this->getMode()) { … … 175 175 * @return Array $arrReturnProducts データベースに登録されているおすすめ商品の配列 176 176 */ 177 function getRecommendProducts(SC_Helper_ Recommend_Ex &$objRecommend)177 function getRecommendProducts(SC_Helper_BestProducts_Ex &$objRecommend) 178 178 { 179 179 $arrList = $objRecommend->getList(); … … 203 203 * @param Object $objRecommend 204 204 */ 205 function insertRecommendProduct($arrPost,$member_id, SC_Helper_ Recommend_Ex &$objRecommend)205 function insertRecommendProduct($arrPost,$member_id, SC_Helper_BestProducts_Ex &$objRecommend) 206 206 { 207 207 // 古いおすすめ商品のデータを削除する。 … … 223 223 * @return void 224 224 */ 225 function deleteProduct($arrPost, SC_Helper_ Recommend_Ex &$objRecommend)225 function deleteProduct($arrPost, SC_Helper_BestProducts_Ex &$objRecommend) 226 226 { 227 227 if ($arrPost['best_id']) { -
branches/camp/camp-2_13-tests/data/class/pages/admin/products/LC_Page_Admin_Products.php
r22582 r22625 277 277 $objQuery->delete('dtb_customer_favorite_products', "product_id IN (SELECT product_id FROM dtb_products WHERE $where)", $arrParam); 278 278 279 $objRecomment = new SC_Helper_ Recommend_Ex();279 $objRecomment = new SC_Helper_BestProducts_Ex(); 280 280 $objRecomment->deleteByProductIDs($product_ids); 281 281 -
branches/camp/camp-2_13-tests/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Recommend.php
r22582 r22625 94 94 function lfGetRanking() 95 95 { 96 $objRecommend = new SC_Helper_ Recommend_Ex();96 $objRecommend = new SC_Helper_BestProducts_Ex(); 97 97 98 98 // おすすめ商品取得 -
branches/camp/camp-2_13-tests/data/class_extends/helper_extends/SC_Helper_BestProducts_Ex.php
r22582 r22625 23 23 24 24 // {{{ requires 25 require_once CLASS_REALDIR . 'helper/SC_Helper_ Recommend.php';25 require_once CLASS_REALDIR . 'helper/SC_Helper_BestProducts.php'; 26 26 27 27 /** … … 34 34 * @version $Id:$ 35 35 */ 36 class SC_Helper_ Recommend_Ex extends SC_Helper_Recommend36 class SC_Helper_BestProducts_Ex extends SC_Helper_BestProducts 37 37 { 38 38 //put your code here
Note: See TracChangeset
for help on using the changeset viewer.