HTMLPurifier 4.4.0
HTMLPurifier_AttrDef_URI_IPv6 Class Reference

Validates an IPv6 address. More...

Inheritance diagram for HTMLPurifier_AttrDef_URI_IPv6:
HTMLPurifier_AttrDef_URI_IPv4 HTMLPurifier_AttrDef_URI_IPv4 HTMLPurifier_AttrDef HTMLPurifier_AttrDef HTMLPurifier_AttrDef HTMLPurifier_AttrDef

List of all members.

Public Member Functions

 validate ($aIP, $config, $context)
 Validates and cleans passed string according to a definition.
 validate ($aIP, $config, $context)
 Validates and cleans passed string according to a definition.

Detailed Description

Validates an IPv6 address.

Author:
Feyd @ forums.devnetwork.net (public domain)
Note:
This function requires brackets to have been removed from address in URI.

Definition at line 9 of file IPv6.php.


Member Function Documentation

HTMLPurifier_AttrDef_URI_IPv6::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef_URI_IPv4.

Definition at line 12 of file IPv6.php.

References HTMLPurifier_AttrDef_URI_IPv4::_loadRegex().

HTMLPurifier_AttrDef_URI_IPv6::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef_URI_IPv4.

Definition at line 10553 of file HTMLPurifier.standalone.php.

References HTMLPurifier_AttrDef_URI_IPv4::_loadRegex().


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