Class HTMLPurifier_URIScheme_tel

extends HTMLPurifier_URIScheme

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.

Methods
Methods inherited from HTMLPurifier_URIScheme
validate()
Properties
Properties inherited from HTMLPurifier_URIScheme
$default_port, $secure, $hierarchical,