Ignore:
Timestamp:
2014/06/03 14:51:51 (12 years ago)
Author:
shutta
Message:

#2448 typo修正・ソース整形・ソースコメントの改善 for 2.13.3

Location:
branches/version-2_13-dev/data/class/pages/admin/contents
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_CSV.php

    r23124 r23503  
    135135        if (SC_Utils_Ex::sfIsInt($csv_id)) { 
    136136            if ($csv_status_flg !='') { 
    137                 $arrData = $objCSV->sfGetCsvOutput($csv_id, 'status = ?' , array($csv_status_flg), $order); 
     137                $arrData = $objCSV->sfGetCsvOutput($csv_id, 'status = ?', array($csv_status_flg), $order); 
    138138            } else { 
    139139                $arrData = $objCSV->sfGetCsvOutput($csv_id, '', array(), $order); 
     
    190190    { 
    191191        $objCSV = new SC_Helper_CSV_Ex(); 
    192         $arrKey = array_keys($objCSV->arrSubnavi,$subno_csv); 
     192        $arrKey = array_keys($objCSV->arrSubnavi, $subno_csv); 
    193193        $csv_id = $arrKey[0]; 
    194194        if (!SC_Utils_Ex::sfIsInt($csv_id)) { 
  • branches/version-2_13-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_FileManager.php

    r23492 r23503  
    127127                        $this->setDispError('select_file', $disp_error); 
    128128                    } else { 
    129                        $path_exists = SC_Utils_Ex::checkFileExistsWithInBasePath($objFormParam->getValue('select_file'),USER_REALDIR); 
     129                       $path_exists = SC_Utils_Ex::checkFileExistsWithInBasePath($objFormParam->getValue('select_file'), USER_REALDIR); 
    130130                       if ($path_exists) { 
    131131                         // ファイルダウンロード 
     
    143143                $objFormParam->convParam(); 
    144144                $this->arrErr = $objFormParam->checkError(); 
    145                 $path_exists = SC_Utils::checkFileExistsWithInBasePath($objFormParam->getValue('select_file'),USER_REALDIR); 
     145                $path_exists = SC_Utils::checkFileExistsWithInBasePath($objFormParam->getValue('select_file'), USER_REALDIR); 
    146146                if (SC_Utils_Ex::isBlank($this->arrErr) && ($path_exists)) { 
    147147                    SC_Helper_FileManager_Ex::deleteFile($objFormParam->getValue('select_file')); 
  • branches/version-2_13-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_FileView.php

    r23279 r23503  
    104104        // FIXME パスのチェック関数が必要 
    105105        $file = $objFormParam->getValue('file'); 
    106         $path_exists = SC_Utils::checkFileExistsWithInBasePath($file,USER_REALDIR); 
     106        $path_exists = SC_Utils::checkFileExistsWithInBasePath($file, USER_REALDIR); 
    107107        if ($path_exists){ 
    108108            $file_check_flg = true; 
  • branches/version-2_13-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.php

    r23481 r23503  
    9292                if (SC_Utils_Ex::isBlank($this->arrErr)) { 
    9393                    $member_id = $_SESSION['member_id']; 
    94                     $this->insertRecommendProduct($arrPost,$member_id,$objRecommend); 
     94                    $this->insertRecommendProduct($arrPost, $member_id, $objRecommend); 
    9595                    $arrItems = $this->getRecommendProducts($objRecommend); 
    9696                    $this->tpl_onload = "window.alert('編集が完了しました');"; 
     
    193193     * @param Object  $objRecommend 
    194194     */ 
    195     public function insertRecommendProduct($arrPost,$member_id, SC_Helper_BestProducts_Ex &$objRecommend) 
     195    public function insertRecommendProduct($arrPost, $member_id, SC_Helper_BestProducts_Ex &$objRecommend) 
    196196    { 
    197197        $sqlval = array(); 
     
    246246     * @param Array $arrItems フロントに表示される商品の情報を格納した配列 
    247247     */ 
    248     public function setProducts($arrPost,$arrItems) 
     248    public function setProducts($arrPost, $arrItems) 
    249249    { 
    250250        $arrProduct = $this->getProduct($arrPost['product_id']); 
  • branches/version-2_13-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_RecommendSearch.php

    r23129 r23503  
    8383                    $objProduct = new SC_Product_Ex(); 
    8484 
    85                     $wheres = $this->createWhere($objFormParam,$objDb); 
    86                     $this->tpl_linemax = $this->getLineCount($wheres,$objProduct); 
     85                    $wheres = $this->createWhere($objFormParam, $objDb); 
     86                    $this->tpl_linemax = $this->getLineCount($wheres, $objProduct); 
    8787 
    8888                    $page_max = SC_Utils_Ex::sfGetSearchPageMax($arrPost['search_page_max']); 
     
    9494 
    9595                    $arrProduct_id = $this->getProducts($wheres, $objProduct, $page_max, $startno); 
    96                     $this->arrProducts = $this->getProductList($arrProduct_id,$objProduct); 
     96                    $this->arrProducts = $this->getProductList($arrProduct_id, $objProduct); 
    9797                    $this->arrForm = $arrPost; 
    9898                } 
     
    115115    { 
    116116        $objFormParam->addParam('商品ID', 'search_name', LTEXT_LEN, 'KVa', array('MAX_LENGTH_CHECK')); 
    117         $objFormParam->addParam('商品ID', 'search_category_id', INT_LEN, 'n', array('MAX_LENGTH_CHECK','NUM_CHECK')); 
     117        $objFormParam->addParam('商品ID', 'search_category_id', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK')); 
    118118        $objFormParam->addParam('商品コード', 'search_product_code', LTEXT_LEN, 'KVa', array('MAX_LENGTH_CHECK')); 
    119119        $objFormParam->addParam('商品ステータス', 'search_status', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK')); 
    120         $objFormParam->addParam('ページ番号', 'search_pageno', INT_LEN, 'n', array('MAX_LENGTH_CHECK','NUM_CHECK')); 
     120        $objFormParam->addParam('ページ番号', 'search_pageno', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK')); 
    121121    } 
    122122 
     
    140140     * @param  SC_FormParam $objFormParam 
    141141     */ 
    142     public function createWhere(&$objFormParam,&$objDb) 
     142    public function createWhere(&$objFormParam, &$objDb) 
    143143    { 
    144144        $arrForm = $objFormParam->getHashArray(); 
     
    187187     * @param SC_Product $objProduct 
    188188     */ 
    189     public function getLineCount($whereAndBind,&$objProduct) 
     189    public function getLineCount($whereAndBind, &$objProduct) 
    190190    { 
    191191        $where = $whereAndBind['where']; 
     
    204204     * @param SC_Product $objProduct 
    205205     */ 
    206     public function getProducts($whereAndBind,&$objProduct, $page_max, $startno) 
     206    public function getProducts($whereAndBind, &$objProduct, $page_max, $startno) 
    207207    { 
    208208        $where = $whereAndBind['where']; 
Note: See TracChangeset for help on using the changeset viewer.