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

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

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
Location:
branches/version-2_12-dev/data/class/pages/products
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_Detail.php

    r21441 r21442  
    164164            case "add_favorite": 
    165165                // ログイン中のユーザが商品をお気に入りにいれる処理 
    166                 if ($objCustomer->isLoginSuccess() === true && $this->objFormParam->getValue('favorite_product_id') > 0 ) { 
     166                if ($objCustomer->isLoginSuccess() === true && $this->objFormParam->getValue('favorite_product_id') > 0) { 
    167167                    $this->arrErr = $this->lfCheckError($this->mode,$this->objFormParam); 
    168168                    if (count($this->arrErr) == 0) { 
     
    176176            case "add_favorite_sphone": 
    177177                // ログイン中のユーザが商品をお気に入りにいれる処理(スマートフォン用) 
    178                 if ($objCustomer->isLoginSuccess() === true && $this->objFormParam->getValue('favorite_product_id') > 0 ) { 
     178                if ($objCustomer->isLoginSuccess() === true && $this->objFormParam->getValue('favorite_product_id') > 0) { 
    179179                    $this->arrErr = $this->lfCheckError($this->mode,$this->objFormParam); 
    180180                    if (count($this->arrErr) == 0) { 
  • branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_List.php

    r21441 r21442  
    427427        // 分割したキーワードを一つずつwhere文に追加 
    428428        foreach ($names as $val) { 
    429             if (strlen($val) > 0 ) { 
     429            if (strlen($val) > 0) { 
    430430                $searchCondition['where']    .= " AND ( alldtl.name ILIKE ? OR alldtl.comment3 ILIKE ?) "; 
    431431                $searchCondition['arrval'][]  = "%$val%"; 
Note: See TracChangeset for help on using the changeset viewer.