API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
doValidate (&$uri, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_URIScheme | |
doValidate (&$uri, $config, $context) | |
validate (&$uri, $config, $context) | |
Data Fields | |
$browsable = false | |
$may_omit_host = true | |
Data Fields 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.
doValidate | ( | & | $uri, |
$config, | |||
$context | |||
) |
HTMLPurifier_URI | $uri | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_URIScheme.
$browsable = false |
@type bool
$may_omit_host = true |
@type bool