Class HTMLPurifier_AttrDef_URI_Host

Description

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

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

Located in /library/HTMLPurifier/AttrDef/URI/Host.php (line 6)

HTMLPurifier_AttrDef
   |
   --HTMLPurifier_AttrDef_URI_Host
Variable Summary
mixed $ipv4
mixed $ipv6
Method Summary
HTMLPurifier_AttrDef_URI_Host __construct ()
void validate ( $string,  $config,  $context)
Variables
mixed $ipv4 (line 12)

Instance of HTMLPurifier_AttrDef_URI_IPv4 sub-validator

Instance of HTMLPurifier_AttrDef_URI_IPv4 sub-validator

  • access: protected
mixed $ipv6 (line 17)

Instance of HTMLPurifier_AttrDef_URI_IPv6 sub-validator

Instance of HTMLPurifier_AttrDef_URI_IPv6 sub-validator

  • access: protected

Inherited Variables

Inherited from HTMLPurifier_AttrDef

HTMLPurifier_AttrDef::$minimized
HTMLPurifier_AttrDef::$required
Methods
Constructor __construct (line 19)
  • access: public
HTMLPurifier_AttrDef_URI_Host __construct ()
validate (line 24)
  • access: public
void validate ( $string,  $config,  $context)
  • $string
  • $config
  • $context

Redefinition of:
HTMLPurifier_AttrDef::validate()
Validates and cleans passed string according to a definition.

Inherited Methods

Inherited From HTMLPurifier_AttrDef

HTMLPurifier_AttrDef::make()
HTMLPurifier_AttrDef::mungeRgb()
HTMLPurifier_AttrDef::parseCDATA()
HTMLPurifier_AttrDef::validate()

Documentation generated on Thu, 19 Jun 2008 18:49:21 -0400 by phpDocumentor 1.4.2