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/admin/products/LC_Page_Admin_Products_ProductClass.php

    r21319 r21441  
    383383                 * ダウンロード商品の必須チェック 
    384384                 */ 
    385                 if($arrValues['product_type_id'][$i] == PRODUCT_TYPE_DOWNLOAD) { 
     385                if ($arrValues['product_type_id'][$i] == PRODUCT_TYPE_DOWNLOAD) { 
    386386                    if (SC_Utils_Ex::isBlank($arrValues['down_filename'][$i])) { 
    387387                        $arrErr['down_filename'][$i] = "※ ダウンロード商品の場合はダウンロードファイル名を入力してください。<br />"; 
     
    464464        // 規格2が選択されていない場合、規格2名称初期化 
    465465        $class_id2 = $objFormParam->getValue('class_id2'); 
    466         if(SC_Utils_Ex::isBlank($class_id2) == true) { 
     466        if (SC_Utils_Ex::isBlank($class_id2) == true) { 
    467467            $objFormParam->setValue('classcategory_name2', ''); 
    468468        } 
     
    627627                // チェック拡張子のピリオドの数を取得('tar.gz'の場合1個、'jpg'のように通常は0個) 
    628628                $count_period = substr_count($checkExt, "."); 
    629                 if($count_period > 0) { 
     629                if ($count_period > 0) { 
    630630                    for ($i = max(array_keys($array_ext)) - $count_period; $i < count($array_ext); $i++) { 
    631631                        $ext .= $array_ext[$i] . "."; 
     
    640640                    $is_error = false; 
    641641                } 
    642                 if($strExt == "") { 
     642                if ($strExt == "") { 
    643643                    $strExt .= $checkExt; 
    644644                } else { 
     
    713713        $table = ''; 
    714714        $arrParams = array(); 
    715         if(SC_Utils_Ex::isBlank($class_id2)) { 
     715        if (SC_Utils_Ex::isBlank($class_id2)) { 
    716716            $table = "dtb_classcategory T1 "; 
    717717            $objQuery->setWhere("T1.class_id = ?"); 
     
    760760        $results = array(); 
    761761        if (!SC_Utils_Ex::isBlank($arrClass)) { 
    762             foreach($arrClass as $key => $val) { 
    763                 if($arrClassCatCount[$key] > 0) { 
     762            foreach ($arrClass as $key => $val) { 
     763                if ($arrClassCatCount[$key] > 0) { 
    764764                    $results[$key] = $arrClass[$key]; 
    765765                } 
Note: See TracChangeset for help on using the changeset viewer.