Открытые члены | |
handle (HtmlDocument $document) | |
Открытые члены унаследованные от Parser | |
getValidNumberPattern () | |
parse ($phoneNumber, $defaultCountry='') | |
stripExtension (&$phoneNumber) | |
Защищенные члены | |
getSchemaMetadata () | |
walkDomTree (\DOMElement $currentNode, $currentDepth=0) | |
getSchemaPropertyValue (\DOMElement $node) | |
handleNode (\DOMElement $node) | |
getNodeInnerHtml (\DOMElement $element) | |
initializeDom (HtmlDocument $document) | |
Защищенные члены унаследованные от Parser | |
__construct () | |
extractFormattedPhoneNumber ($phoneNumber) | |
isViablePhoneNumber ($phoneNumber) | |
parsePhoneNumberAndCountryPhoneCode ($phoneNumber) | |
normalizePhoneNumber ($phoneNumber) | |
getMetadataByCountryCode ($countryCode) | |
findCountry ($countryCode, $localNumber) | |
getNumberType ($localNumber, $country) | |
getCountriesByCode ($countryCode) | |
getCountryMetadata ($country) | |
Защищенные данные | |
$dom | |
$schemaMetadata = array() | |
$documentEncoding | |
Защищенные данные унаследованные от Parser | |
$plusChar = '+' | |
$validDigits = '0-9' | |
$dashes = '-' | |
$slashes = '\/' | |
$dot = '.' | |
$whitespace = '\s' | |
$brackets = '()\\[\\]' | |
$tildes = '~' | |
$extensionSeparators = ';#' | |
$extensionSymbols = ',' | |
$phoneNumberStartPattern | |
$afterPhoneNumberEndPattern | |
$minLengthPhoneNumberPattern | |
$validPunctuation | |
$validPhoneNumber | |
$validPhoneNumberPattern | |
Дополнительные унаследованные члены | |
Открытые статические члены унаследованные от Parser | |
static | getInstance () |
static | getDefaultCountry () |
static | getUserDefaultCountry () |
static | detectCountry () |
Открытые атрибуты унаследованные от Parser | |
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' |
Защищенные статические члены унаследованные от Parser | |
static | stripNationalPrefix (&$phoneNumber, $countryMetadata) |
static | stripCountryCode (&$phoneNumber, $countryMetadata) |
static | stripLetters ($str) |
Статические защищенные данные унаследованные от Parser | |
static | $instance = null |
См. определение в файле schemaorg.php строка 10
|
protected |
|
protected |
См. определение в файле schemaorg.php строка 56
|
protected |
handle | ( | HtmlDocument | $document | ) |
Parses HTML document's Schema.org metadata.
HtmlDocument | $document |
См. определение в файле schemaorg.php строка 25
|
protected |
\DOMElement | $node |
См. определение в файле schemaorg.php строка 139
|
protected |
|
protected |
\DOMElement | $currentNode | |
int | $currentDepth |
См. определение в файле schemaorg.php строка 78
|
protected |
См. определение в файле schemaorg.php строка 18
|
protected |
См. определение в файле schemaorg.php строка 13
|
protected |
См. определение в файле schemaorg.php строка 16