i18n
Zittme\Framework\i18n 클래스의 공개 메서드 목록입니다. 이 문서는 Zittme 코어 소스에서 자동 생성되었습니다.
소스: common/framework/i18n.php
공개 메서드
static function listCountries(int $sort_by = self::SORT_NAME_ENGLISH)- Get the list of all countries.
static function getCallingCodeByCountryCode(string $code)- Get the calling code from a country code (either ISO-3166-1 alpha2 or alpha3).
static function getCountryCodeByCallingCode(string $code, $type = 3)- Get the country code (either ISO-3166-1 alpha2 or alpha3) from a calling code.
static function formatPhoneNumber(string $phone_number, string $phone_country, bool $pretty = true)- Format a phone number with country code.