API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_URIScheme_mailto Class Reference
Inheritance diagram for HTMLPurifier_URIScheme_mailto:
Collaboration diagram for HTMLPurifier_URIScheme_mailto:

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
 

Detailed Description

Validates mailto (for E-mail) according to RFC 2368

Todo:

Validate the email address

Filter allowed query parameters

Member Function Documentation

◆ doValidate()

doValidate ( $uri,
  $config,
  $context 
)
Parameters
HTMLPurifier_URI$uri
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
bool

Reimplemented from HTMLPurifier_URIScheme.

Field Documentation

◆ $browsable

$browsable = false

@type bool

◆ $may_omit_host

$may_omit_host = true

@type bool


The documentation for this class was generated from the following file: