API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
validate ($aIP, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_AttrDef | |
validate ($string, $config, $context) | |
parseCDATA ($string) | |
make ($string) | |
Protected Member Functions | |
_loadRegex () | |
Protected Member Functions inherited from HTMLPurifier_AttrDef | |
mungeRgb ($string) | |
expandCSSEscape ($string) | |
Protected Attributes | |
$ip4 | |
Additional Inherited Members | |
Data Fields inherited from HTMLPurifier_AttrDef | |
$minimized = false | |
$required = false | |
Validates an IPv4 address
|
protected |
Lazy load function to prevent regex from being stuffed in cache.
validate | ( | $aIP, | |
$config, | |||
$context | |||
) |
string | $aIP | |
HTMLPurifier_Config | $config | |
HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_AttrDef.
Reimplemented in HTMLPurifier_AttrDef_URI_IPv6.
|
protected |
IPv4 regex, protected so that IPv6 can reuse it. @type string