Ignore:
Timestamp:
2012/02/06 11:05:15 (12 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_SearchProducts.php

    r21420 r21441  
    9494    function lfGetProductId() { 
    9595        $product_id = ''; 
    96         if ( isset($_GET['product_id']) && $_GET['product_id'] != '' && is_numeric($_GET['product_id']) ) { 
     96        if (isset($_GET['product_id']) && $_GET['product_id'] != '' && is_numeric($_GET['product_id']) ) { 
    9797            $product_id = $_GET['product_id']; 
    9898        } 
     
    107107    function lfGetCategoryId() { 
    108108        $category_id = ''; 
    109         if ( isset($_GET['category_id']) && $_GET['category_id'] != '' && is_numeric($_GET['category_id']) ) { 
     109        if (isset($_GET['category_id']) && $_GET['category_id'] != '' && is_numeric($_GET['category_id']) ) { 
    110110            $category_id = $_GET['category_id']; 
    111111        } 
     
    120120    function lfGetMakerId() { 
    121121        $maker_id = ''; 
    122         if ( isset($_GET['maker_id']) && $_GET['maker_id'] != '' && is_numeric($_GET['maker_id']) ) { 
     122        if (isset($_GET['maker_id']) && $_GET['maker_id'] != '' && is_numeric($_GET['maker_id']) ) { 
    123123            $maker_id = $_GET['maker_id']; 
    124124        } 
     
    161161        if (is_array($arrCategoryList)) { 
    162162            // 文字サイズを制限する 
    163             foreach($arrCategoryList as $key => $val) { 
     163            foreach ($arrCategoryList as $key => $val) { 
    164164                $truncate_str = SC_Utils_Ex::sfCutString($val, SEARCH_CATEGORY_LEN, false); 
    165165                $arrCategoryList[$key] = preg_replace('/ /u', "  ", $truncate_str); 
     
    180180        if (is_array($arrMakerList)) { 
    181181            // 文字サイズを制限する 
    182             foreach($arrMakerList as $key => $val) { 
     182            foreach ($arrMakerList as $key => $val) { 
    183183                $arrMakerList[$key] = SC_Utils_Ex::sfCutString($val, SEARCH_CATEGORY_LEN, false); 
    184184            } 
Note: See TracChangeset for help on using the changeset viewer.