Ignore:
Timestamp:
2011/03/04 19:51:32 (10 years ago)
Author:
shutta
Message:

拡張クラス(/class_extends/)が存在するのに基底クラス(/class/)のメソッドを呼び出している部分を拡張クラスに書き換え。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/helper/SC_Helper_Customer.php

    r20482 r20484  
    310310        SC_Helper_Customer_Ex::sfCustomerCommonParam($objFormParam); 
    311311        SC_Helper_Customer_Ex::sfCustomerRegisterParam($objFormParam); 
    312         if (SC_Display::detectDevice() !== DEVICE_TYPE_MOBILE){ 
     312        if (SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE){ 
    313313            $objFormParam->addParam('携帯メールアドレス', "email_mobile", MTEXT_LEN, "a", array("NO_SPTAB", "EMAIL_CHECK", "SPTAB_CHECK" ,"EMAIL_CHAR_CHECK", "MAX_LENGTH_CHECK")); 
    314314            $objFormParam->addParam('携帯メールアドレス(確認)', "email_mobile02", MTEXT_LEN, "a", array("NO_SPTAB", "EMAIL_CHECK","SPTAB_CHECK" , "EMAIL_CHAR_CHECK", "MAX_LENGTH_CHECK"), "", false); 
     
    370370        $objFormParam->addParam("メールマガジン", "mailmaga_flg", INT_LEN, "n", array("EXIST_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    371371 
    372         if (SC_Display::detectDevice() !== DEVICE_TYPE_MOBILE){ 
     372        if (SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE){ 
    373373            $objFormParam->addParam("FAX番号1", 'fax01', TEL_ITEM_LEN, "n", array("SPTAB_CHECK")); 
    374374            $objFormParam->addParam("FAX番号2", 'fax02', TEL_ITEM_LEN, "n", array("SPTAB_CHECK")); 
     
    472472        $objErr->doFunc(array("生年月日", "year", "month", "day"), array("CHECK_BIRTHDAY")); 
    473473 
    474         if (SC_Display::detectDevice() !== DEVICE_TYPE_MOBILE){ 
     474        if (SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE){ 
    475475            if(!$isAdmin) { 
    476476                $objErr->doFunc(array('パスワード', 'パスワード(確認)', "password", "password02") ,array("EQUAL_CHECK")); 
     
    572572            $objErr->arrErr["search_buy_times_from"] .= "※ 購入回数の指定範囲が不正です。"; 
    573573        } 
    574         if(!SC_Utils::isBlank($objErr->arrErr)) { 
     574        if(!SC_Utils_Ex::isBlank($objErr->arrErr)) { 
    575575            $arrErr = array_merge($arrErr, $objErr->arrErr); 
    576576        } 
Note: See TracChangeset for help on using the changeset viewer.