Class HTMLPurifier_AttrDef_HTML_LinkTypes

Description

Validates a rel/rev link attribute against a directive of allowed values

Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 9605)

HTMLPurifier_AttrDef
   |
   --HTMLPurifier_AttrDef_HTML_LinkTypes
Variable Summary
mixed $name
Method Summary
HTMLPurifier_AttrDef_HTML_LinkTypes __construct ( $name)
void validate ( $string,  $config,  $context)
Variables
mixed $name (line 9609)

Name config attribute to pull.

  • access: protected

Inherited Variables

Inherited from HTMLPurifier_AttrDef

HTMLPurifier_AttrDef::$minimized
HTMLPurifier_AttrDef::$required
Methods
Constructor __construct (line 9611)
  • access: public
HTMLPurifier_AttrDef_HTML_LinkTypes __construct ( $name)
  • $name
validate (line 9624)
  • 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::expandCSSEscape()
HTMLPurifier_AttrDef::make()
HTMLPurifier_AttrDef::mungeRgb()
HTMLPurifier_AttrDef::parseCDATA()
HTMLPurifier_AttrDef::validate()

Documentation generated on Sun, 06 Mar 2011 00:24:00 -0500 by phpDocumentor 1.4.3