/** * 会員情報変更エラーチェック * * @param SC_FormParam $objFormParam SC_FormParam インスタンス * @param boolean $isAdmin 管理画面チェック時:true * @access public * @return array エラーの配列 */ public function sfCustomerMypageErrorCheck(&$objFormParam, $isAdmin = false) { $objFormParam->toLower('email_mobile'); $objFormParam->toLower('email_mobile02'); $objErr = SC_Helper_Customer_Ex::sfCustomerCommonErrorCheck($objFormParam); $objErr = SC_Helper_Customer_Ex::sfCustomerRegisterErrorCheck($objErr, $isAdmin); if (isset($objErr->arrErr['password']) && $objFormParam->getValue('password') == DEFAULT_PASSWORD) { unset($objErr->arrErr['password']); unset($objErr->arrErr['password02']); } if (isset($objErr->arrErr['reminder_answer']) && $objFormParam->getValue('reminder_answer') == DEFAULT_PASSWORD) { unset($objErr->arrErr['reminder_answer']); } return $objErr->arrErr; }