|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Validates an IPv4 address. More...
Inheritance diagram for HTMLPurifier_AttrDef_URI_IPv4:
Collaboration diagram for HTMLPurifier_AttrDef_URI_IPv4:Public Member Functions | |
| validate ($aIP, $config, $context) | |
Public Member Functions inherited from HTMLPurifier_AttrDef | |
| validate ($string, $config, $context) | |
| Validates and cleans passed string according to a definition. More... | |
| parseCDATA ($string) | |
| Convenience method that parses a string as if it were CDATA. More... | |
| make ($string) | |
| Factory method for creating this class from a string. More... | |
Protected Member Functions | |
| _loadRegex () | |
| Lazy load function to prevent regex from being stuffed in cache. More... | |
Protected Member Functions inherited from HTMLPurifier_AttrDef | |
| mungeRgb ($string) | |
| Removes spaces from rgb(0, 0, 0) so that shorthand CSS properties work properly. More... | |
| expandCSSEscape ($string) | |
| Parses a possibly escaped CSS string and returns the "pure" version of it. More... | |
Protected Attributes | |
| $ip4 | |
| IPv4 regex, protected so that IPv6 can reuse it. More... | |
Additional Inherited Members | |
Data Fields inherited from HTMLPurifier_AttrDef | |
| $minimized = false | |
| Tells us whether or not an HTML attribute is minimized. More... | |
| $required = false | |
| Tells us whether or not an HTML attribute is required. More... | |
|
protected |
Lazy load function to prevent regex from being stuffed in cache.
Definition at line 38 of file IPv4.php.
Referenced by validate(), and HTMLPurifier_AttrDef_URI_IPv6\validate().
Here is the caller graph for this function:| HTMLPurifier_AttrDef_URI_IPv4::validate | ( | $aIP, | |
| $config, | |||
| $context | |||
| ) |
| string | $aIP | |
| HTMLPurifier_Config | $config | |
| HTMLPurifier_Context | $context |
Reimplemented from HTMLPurifier_AttrDef.
Reimplemented in HTMLPurifier_AttrDef_URI_IPv6.
Definition at line 22 of file IPv4.php.
References _loadRegex().
Here is the call graph for this function:
|
protected |