Открытые члены | |
handle (HtmlDocument $document) | |
![]() | |
getValidNumberPattern () | |
parse ($phoneNumber, $defaultCountry='') | |
stripExtension (&$phoneNumber) | |
Дополнительные унаследованные члены | |
![]() | |
static | getInstance () |
static | getDefaultCountry () |
static | getUserDefaultCountry () |
static | detectCountry () |
![]() | |
const | MAX_LENGTH_COUNTRY_CODE = 3 |
const | MIN_LENGTH_FOR_NSN = 2 |
const | MAX_LENGTH_FOR_NSN = 17 |
const | MAX_INPUT_STRING_LENGTH = 250 |
const | DEFAULT_COUNTRY_OPTION = 'phone_number_default_country' |
![]() | |
__construct () | |
extractFormattedPhoneNumber ($phoneNumber) | |
isViablePhoneNumber ($phoneNumber) | |
parsePhoneNumberAndCountryPhoneCode ($phoneNumber) | |
normalizePhoneNumber ($phoneNumber) | |
getMetadataByCountryCode ($countryCode) | |
findCountry ($countryCode, $localNumber) | |
getNumberType ($localNumber, $country) | |
getCountriesByCode ($countryCode) | |
getCountryMetadata ($country) | |
![]() | |
static | stripNationalPrefix (&$phoneNumber, $countryMetadata) |
static | stripCountryCode (&$phoneNumber, $countryMetadata) |
static | stripLetters ($str) |
![]() | |
$plusChar = '+' | |
$validDigits = '0-9' | |
$dashes = '-' | |
$slashes = '\/' | |
$dot = '.' | |
$whitespace = '\s' | |
$brackets = '()\\[\\]' | |
$tildes = '~' | |
$extensionSeparators = ';#' | |
$extensionSymbols = ',' | |
$phoneNumberStartPattern | |
$afterPhoneNumberEndPattern | |
$minLengthPhoneNumberPattern | |
$validPunctuation | |
$validPhoneNumber | |
$validPhoneNumberPattern | |
![]() | |
static | $instance = null |
См. определение в файле applemaps.php строка 12
handle | ( | HtmlDocument | $document | ) |
Parses HTML document's meta tags, and fills document's metadata.
HtmlDocument | $document | HTML document to scan for metadata. |
См. определение в файле applemaps.php строка 20