Class HTMLPurifier_AttrDef_Switch

Description

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

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

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


	
			
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 9)
  • access: protected
mixed $withoutTag (line 10)
  • access: protected
mixed $withTag (line 10)
  • access: protected
Methods
Constructor __construct (line 17)
  • access: public
HTMLPurifier_AttrDef_Switch __construct (string $tag, HTMLPurifier_AttrDef $with_tag, HTMLPurifier_AttrDef $without_tag)
validate (line 23)
  • access: public
void validate ( $string,  $config,  $context)
  • $string
  • $config
  • $context

Documentation generated on Thu, 19 Jun 2008 18:50:22 -0400 by phpDocumentor 1.4.2