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

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

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

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_Customer.php

    r21420 r21441  
    5252 
    5353        // パスワードが合っていれば会員情報をcustomer_dataにセットしてtrueを返す 
    54         if ( SC_Utils_Ex::sfIsMatchHashPassword($pass, $data['password'], $data['salt']) ) { 
     54        if (SC_Utils_Ex::sfIsMatchHashPassword($pass, $data['password'], $data['salt']) ) { 
    5555            $this->customer_data = $data; 
    5656            $this->startSession(); 
     
    112112    function checkMobilePhoneId() { 
    113113        //docomo用にデータを取り出す。 
    114         if(SC_MobileUserAgent_Ex::getCarrier() == 'docomo'){ 
     114        if (SC_MobileUserAgent_Ex::getCarrier() == 'docomo') { 
    115115            if($_SESSION['mobile']['phone_id'] == "" && strlen($_SESSION['mobile']['phone_id']) == 0) 
    116116                $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent_Ex::getId(); 
     
    136136    function getCustomerDataFromMobilePhoneIdPass($pass) { 
    137137        //docomo用にデータを取り出す。 
    138         if(SC_MobileUserAgent_Ex::getCarrier() == 'docomo'){ 
     138        if (SC_MobileUserAgent_Ex::getCarrier() == 'docomo') { 
    139139            if($_SESSION['mobile']['phone_id'] == "" && strlen($_SESSION['mobile']['phone_id']) == 0) 
    140140                $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent_Ex::getId(); 
     
    150150 
    151151        // パスワードが合っている場合は、会員情報をcustomer_dataに格納してtrueを返す。 
    152         if ( SC_Utils_Ex::sfIsMatchHashPassword($pass, $data['password'], $data['salt']) ) { 
     152        if (SC_Utils_Ex::sfIsMatchHashPassword($pass, $data['password'], $data['salt']) ) { 
    153153            $this->customer_data = $data; 
    154154            $this->startSession(); 
     
    228228            $objQuery = new SC_Query_Ex(); 
    229229            $email = $objQuery->get('email', "dtb_customer", "customer_id = ?", array($_SESSION['customer']['customer_id'])); 
    230             if($email == $_SESSION['customer']['email']) { 
     230            if ($email == $_SESSION['customer']['email']) { 
    231231                // モバイルサイトの場合は携帯のメールアドレスが登録されていることもチェックする。 
    232232                // ただし $dont_check_email_mobile が true の場合はチェックしない。 
     
    274274            $now_month = intval(date('m')); 
    275275 
    276             if($birth_month == $now_month) { 
     276            if ($birth_month == $now_month) { 
    277277                return true; 
    278278            } 
Note: See TracChangeset for help on using the changeset viewer.