Korea
Zittme\Framework\Korea 클래스의 공개 메서드 목록입니다. 이 문서는 Zittme 코어 소스에서 자동 생성되었습니다.
소스: common/framework/Korea.php
공개 메서드
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.