Ignore:
Timestamp:
2008/04/16 20:13:17 (16 years ago)
Author:
Yammy
Message:

メーカー検索機能
http://svn.ec-cube.net/open_trac/ticket/273
実装

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_SearchProducts.php

    r16741 r17263  
    6969        $this->arrCatList = $arrRet; 
    7070 
     71        // 選択中のメーカーIDを判定する 
     72        $this->maker_id = $objDb->sfGetMakerId($_GET['product_id'], $_GET['maker_id']); 
     73        // メーカー検索用選択リスト 
     74        $arrRet = $objDb->sfGetMakerList('', true); 
     75        if(is_array($arrRet)) { 
     76            // 文字サイズを制限する 
     77            foreach($arrRet as $key => $val) { 
     78                $arrRet[$key] = SC_Utils_Ex::sfCutString($val, SEARCH_CATEGORY_LEN); 
     79            } 
     80        } 
     81        $this->arrMakerList = $arrRet; 
     82 
    7183        $objSubView = new SC_SiteView(); 
    7284        $objSubView->assignobj($this); 
Note: See TracChangeset for help on using the changeset viewer.