|
Cheetah
|
Public Member Functions | |
| doValidate (&$uri, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_URIScheme | |
| validate (&$uri, $config, $context) | |
Public Attributes | |
| $browsable = false | |
| $may_omit_host = true | |
Public Attributes inherited from HTMLPurifier_URIScheme | |
| $default_port = null | |
| $browsable = false | |
| $secure = false | |
| $hierarchical = false | |
| $may_omit_host = false | |
Validates tel (for phone numbers).
The relevant specifications for this protocol are RFC 3966 and RFC 5341, but this class takes a much simpler approach: we normalize phone numbers so that they only include (possibly) a leading plus, and then any number of digits and x'es.
Definition at line 22379 of file HTMLPurifier.standalone.php.
| HTMLPurifier_URIScheme_tel::doValidate | ( | & | $uri, |
| $config, | |||
| $context | |||
| ) |
| HTMLPurifier_URI | $uri | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_URIScheme.
Definition at line 22397 of file HTMLPurifier.standalone.php.
| HTMLPurifier_URIScheme_tel::$browsable = false |
@type bool
Definition at line 22384 of file HTMLPurifier.standalone.php.
| HTMLPurifier_URIScheme_tel::$may_omit_host = true |
@type bool
Definition at line 22389 of file HTMLPurifier.standalone.php.