Chuyển đến nội dung
Tài liệu

Tra cứu lớp và hàm

Korea

Danh sách các phương thức công khai của lớp Zittme\Framework\Korea. Tài liệu này được tạo tự động từ mã nguồn lõi Zittme.

Nguồn: common/framework/Korea.php

Phương thức công khai

  • static function formatPhoneNumber(string $num)
  • Format a phone number.
  • static function isValidPhoneNumber(string $num)
  • Check if a Korean phone number contains a valid area code and the correct number of digits.
  • static function isValidMobilePhoneNumber(string $num)
  • Check if a Korean phone number is a mobile phone number.
  • static function isValidJuminNumber(string $code)
  • Check if the given string is a valid resident registration number (주민등록번호)
  • static function isValidCorporationNumber(string $code)
  • Check if the given string is a valid corporation registration number (법인등록번호).
  • static function isValidBusinessNumber(string $code)
  • Check if the given string is a valid business registration number (사업자등록번호).
  • static function isKoreanIP(string $ip)
  • Check if the given IP address is Korean.
  • static function isKoreanEmailAddress(string $email_address, bool $clear_cache = false)
  • Check if the given email address is hosted by a Korean portal site.