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.