Class HTMLPurifier_AttrDef_Switch

Description

Decorator that, depending on a token, switches between two definitions.

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


	
			
Variable Summary
mixed $tag
mixed $withoutTag
mixed $withTag
Method Summary
HTMLPurifier_AttrDef_Switch __construct (string $tag, HTMLPurifier_AttrDef $with_tag, HTMLPurifier_AttrDef $without_tag)
void validate ( $string,  $config,  $context)
Variables
mixed $tag (line 7999)
  • access: protected
mixed $withoutTag (line 8000)
  • access: protected
mixed $withTag (line 8000)
  • access: protected
Methods
Constructor __construct (line 8007)
  • access: public
HTMLPurifier_AttrDef_Switch __construct (string $tag, HTMLPurifier_AttrDef $with_tag, HTMLPurifier_AttrDef $without_tag)
validate (line 8013)
  • access: public
void validate ( $string,  $config,  $context)
  • $string
  • $config
  • $context

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