|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct () | |
| validate ($string, $config, $context) | |
Protected Attributes | |
| $ipv4 | |
| $ipv6 | |
Validates a host according to the IPv4, IPv6 and DNS (future) specifications.
| __construct | ( | ) |
| 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.
$ipv4 [protected] |
Instance of HTMLPurifier_AttrDef_URI_IPv4 sub-validator
$ipv6 [protected] |
Instance of HTMLPurifier_AttrDef_URI_IPv6 sub-validator