Changeset 16376
- Timestamp:
- 2007/10/11 15:21:24 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/SC_CheckError.php
r16368 r16376 504 504 if(strlen($this->arrParam[$value[1]]) > 0 && !ereg("^[a-zA-Z0-9_\.@\+\?-]+$",$this->arrParam[$value[1]]) ) { 505 505 $this->arrErr[$value[1]] = "※ " . $value[0] . "に使用する文字を正しく入力してください。<br />"; 506 }507 }508 509 /**510 * 携帯キャリアのドメイン判定.511 *512 * @param array $value [0] => 項目名, [1] => 判定対象メールアドレス513 * @return void514 */515 function MOBILE_DOMAIN_CHECK($value) {516 if (isset($this->arrErr[$value[1]])) {517 return;518 }519 $this->createParam($value);520 $objMobile = new SC_Helper_Mobile_Ex();521 if (strlen($this->arrParam[$value[1]]) > 0 && !$objMobile->gfIsMobileMailAddress($this->arrParam[$value[1]])) {522 $this->arrErr[$value[1]] = "※ " . $value[0] . "は携帯メールアドレスのドメインではありません。<br />";523 506 } 524 507 }
Note: See TracChangeset
for help on using the changeset viewer.