예제 #1
0
파일: System13.php 프로젝트: jschaedl/bav
 /**
  * @param string $account
  * @return bool
  */
 public function isValid($account)
 {
     if (parent::isValid($account)) {
         return true;
     }
     $account = ltrim($account, '0') . '00';
     return strlen($account) <= $this->normalizedSize && parent::isValid($account);
 }
예제 #2
0
파일: System75.php 프로젝트: jschaedl/bav
 public function isValid($account)
 {
     $account = ltrim($account, '0');
     $length = strlen($account);
     if ($length < 6 || $length > 9) {
         return false;
     }
     if ($length == 9) {
         if ($account[0] == 9) {
             $account = substr($account, 1, 6);
         } else {
             $account = substr($account, 0, 6);
         }
     }
     return parent::isValid($account);
 }
예제 #3
0
파일: System59.php 프로젝트: jschaedl/bav
 public function isValid($account)
 {
     return ltrim($account, "0") != "" && strlen($account) < 9 || parent::isValid($account);
 }
예제 #4
0
파일: System78.php 프로젝트: jschaedl/bav
 public function isValid($account)
 {
     return strlen($account) !== 8 && parent::isValid($account);
 }