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/LC_Page_InputZip.php

    r21420 r21441  
    5858        $arrErr = $this->fnErrorCheck($_GET); 
    5959        // 入力エラーの場合は終了 
    60         if(count($arrErr) > 0) { 
     60        if (count($arrErr) > 0) { 
    6161            $tpl_message = ""; 
    62             foreach($arrErr as $key => $val) { 
     62            foreach ($arrErr as $key => $val) { 
    6363                $tpl_message .= preg_replace("/<br \/>/", "\n", $val); 
    6464            } 
     
    7575 
    7676            // 郵便番号が発見された場合 
    77             if(!empty($arrAdsList)) { 
     77            if (!empty($arrAdsList)) { 
    7878                $data = $arrAdsList[0]['state']. "|". $arrAdsList[0]['city']. "|". $arrAdsList[0]['town']; 
    7979                echo $data; 
     
    112112        $arrErr = $objFormParam->checkError(); 
    113113        // 親ウィンドウの戻り値を格納するinputタグのnameのエラーチェック 
    114         if ( !$this->lfInputNameCheck($arrRequest['input1']) ) { 
     114        if (!$this->lfInputNameCheck($arrRequest['input1']) ) { 
    115115            $arrErr['input1'] = "※ 入力形式が不正です。<br />"; 
    116116        } 
    117         if ( !$this->lfInputNameCheck($arrRequest['input2']) ) { 
     117        if (!$this->lfInputNameCheck($arrRequest['input2']) ) { 
    118118            $arrErr['input2'] = "※ 入力形式が不正です。<br />"; 
    119119        } 
     
    130130    function lfInputNameCheck($value) { 
    131131        // 半角英数字と_(アンダーバー), []以外の文字を使用していたらエラー 
    132         if(strlen($value) > 0 && !preg_match("/^[a-zA-Z0-9_\[\]]+$/", $value)) { 
     132        if (strlen($value) > 0 && !preg_match("/^[a-zA-Z0-9_\[\]]+$/", $value)) { 
    133133            return false; 
    134134        } 
Note: See TracChangeset for help on using the changeset viewer.