ILIAS
eassessment Revision 61809
|
Validates an IPv6 address. More...
Public Member Functions | |
validate ($aIP, $config, $context) | |
Validates and cleans passed string according to a definition. |
Additional Inherited Members | |
Data Fields inherited from HTMLPurifier_AttrDef | |
$minimized = false | |
Tells us whether or not an HTML attribute is minimized. | |
$required = false | |
Tells us whether or not an HTML attribute is required. | |
Protected Member Functions inherited from HTMLPurifier_AttrDef_URI_IPv4 | |
_loadRegex () | |
Lazy load function to prevent regex from being stuffed in cache. | |
Protected Attributes inherited from HTMLPurifier_AttrDef_URI_IPv4 | |
$ip4 | |
IPv4 regex, protected so that IPv6 can reuse it. |
Validates an IPv6 address.
HTMLPurifier_AttrDef_URI_IPv6::validate | ( | $string, | |
$config, | |||
$context | |||
) |
Validates and cleans passed string according to a definition.
$string | String to be validated and cleaned. |
$config | Mandatory HTMLPurifier_Config object. |
$context | Mandatory HTMLPurifier_AttrContext object. |
Reimplemented from HTMLPurifier_AttrDef_URI_IPv4.
Definition at line 12 of file IPv6.php.
References HTMLPurifier_AttrDef_URI_IPv4\_loadRegex().