XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_AttrDef_URI_Host Class Reference
Inheritance diagram for HTMLPurifier_AttrDef_URI_Host:
Inheritance graph

Public Member Functions

 __construct ()
 
 validate ($string, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_AttrDef
 make ($string)
 
 parseCDATA ($string)
 
 validate ($string, $config, $context)
 

Protected Attributes

 $ipv4
 
 $ipv6
 

Additional Inherited Members

- Public Attributes inherited from HTMLPurifier_AttrDef
 $minimized = false
 
 $required = false
 
- Protected Member Functions inherited from HTMLPurifier_AttrDef
 expandCSSEscape ($string)
 
 mungeRgb ($string)
 

Detailed Description

Validates a host according to the IPv4, IPv6 and DNS (future) specifications.

Definition at line 6 of file Host.php.

Constructor & Destructor Documentation

HTMLPurifier_AttrDef_URI_Host::__construct ( )

Definition at line 19 of file Host.php.

Member Function Documentation

HTMLPurifier_AttrDef_URI_Host::validate (   $string,
  $config,
  $context 
)

Definition at line 24 of file Host.php.

References $config, $i, and $ipv4.

Member Data Documentation

HTMLPurifier_AttrDef_URI_Host::$ipv4
protected

Instance of HTMLPurifier_AttrDef_URI_IPv4 sub-validator

Definition at line 12 of file Host.php.

Referenced by validate().

HTMLPurifier_AttrDef_URI_Host::$ipv6
protected

Instance of HTMLPurifier_AttrDef_URI_IPv6 sub-validator

Definition at line 17 of file Host.php.


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