예제 #1
0
파일: Validator50.php 프로젝트: bmdevel/bav
 public function isValid($account)
 {
     if (parent::isValid($account)) {
         return true;
     }
     $account = ltrim($account, '0') . '000';
     return strlen($account) <= $this->normalizedSize && parent::isValid($account);
 }
예제 #2
0
파일: Validator89.php 프로젝트: bmdevel/bav
 public function isValid($account)
 {
     $length = strlen(ltrim($account, '0'));
     return ($length == 8 || $length == 9) && $this->validator10->isValid($account) || $length == 7 && parent::isValid($account);
 }
예제 #3
0
파일: Validator99.php 프로젝트: bmdevel/bav
 public function isValid($account)
 {
     return parent::isValid($account) || $this->isBetween(396000000, 499999999);
 }
예제 #4
0
파일: Validator95.php 프로젝트: bmdevel/bav
 public function isValid($account)
 {
     return parent::isValid($account) || $this->isBetween(1, 1999999) || $this->isBetween(9000000, 25999999) || $this->isBetween(396000000, 499999999) || $this->isBetween(700000000, 799999999) || $this->isBetween(910000000, 989999999);
 }