Changeset 22625


Ignore:
Timestamp:
2013/03/09 16:20:01 (8 years ago)
Author:
hiro151
Message:

#2162 SC_Helper_RecommendクラスをSC_Helper_BestProductsに変更 (dtb_recommendがあるため紛らわしくなるのを回避)

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  
    2929 * @version $Id:$ 
    3030 */ 
    31 class SC_Helper_Recommend 
     31class SC_Helper_BestProducts 
    3232{ 
    3333    /** 
     
    3838     * @return array 
    3939     */ 
    40     public function get($best_id, $has_deleted = false) 
     40    public function getBestProducts($best_id, $has_deleted = false) 
    4141    { 
    4242        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
  • branches/camp/camp-2_13-tests/data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.php

    r22582 r22625  
    7979        $arrPost = $objFormParam->getHashArray(); 
    8080 
    81         $objRecommend = new SC_Helper_Recommend_Ex(); 
     81        $objRecommend = new SC_Helper_BestProducts_Ex(); 
    8282 
    8383        switch ($this->getMode()) { 
     
    175175     * @return Array $arrReturnProducts データベースに登録されているおすすめ商品の配列 
    176176     */ 
    177     function getRecommendProducts(SC_Helper_Recommend_Ex &$objRecommend) 
     177    function getRecommendProducts(SC_Helper_BestProducts_Ex &$objRecommend) 
    178178    { 
    179179        $arrList = $objRecommend->getList(); 
     
    203203     * @param Object $objRecommend 
    204204     */ 
    205     function insertRecommendProduct($arrPost,$member_id, SC_Helper_Recommend_Ex &$objRecommend) 
     205    function insertRecommendProduct($arrPost,$member_id, SC_Helper_BestProducts_Ex &$objRecommend) 
    206206    { 
    207207        // 古いおすすめ商品のデータを削除する。 
     
    223223     * @return void 
    224224     */ 
    225     function deleteProduct($arrPost, SC_Helper_Recommend_Ex &$objRecommend) 
     225    function deleteProduct($arrPost, SC_Helper_BestProducts_Ex &$objRecommend) 
    226226    { 
    227227        if ($arrPost['best_id']) { 
  • branches/camp/camp-2_13-tests/data/class/pages/admin/products/LC_Page_Admin_Products.php

    r22582 r22625  
    277277        $objQuery->delete('dtb_customer_favorite_products', "product_id IN (SELECT product_id FROM dtb_products WHERE $where)", $arrParam); 
    278278 
    279         $objRecomment = new SC_Helper_Recommend_Ex(); 
     279        $objRecomment = new SC_Helper_BestProducts_Ex(); 
    280280        $objRecomment->deleteByProductIDs($product_ids); 
    281281 
  • branches/camp/camp-2_13-tests/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Recommend.php

    r22582 r22625  
    9494    function lfGetRanking() 
    9595    { 
    96         $objRecommend = new SC_Helper_Recommend_Ex(); 
     96        $objRecommend = new SC_Helper_BestProducts_Ex(); 
    9797 
    9898        // おすすめ商品取得 
  • branches/camp/camp-2_13-tests/data/class_extends/helper_extends/SC_Helper_BestProducts_Ex.php

    r22582 r22625  
    2323 
    2424// {{{ requires 
    25 require_once CLASS_REALDIR . 'helper/SC_Helper_Recommend.php'; 
     25require_once CLASS_REALDIR . 'helper/SC_Helper_BestProducts.php'; 
    2626 
    2727/** 
     
    3434 * @version $Id:$ 
    3535 */ 
    36 class SC_Helper_Recommend_Ex extends SC_Helper_Recommend 
     36class SC_Helper_BestProducts_Ex extends SC_Helper_BestProducts 
    3737{ 
    3838    //put your code here 
Note: See TracChangeset for help on using the changeset viewer.