Class HTMLPurifier_AttrDef_HTML_Bool

Description

Validates a boolean attribute

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

HTMLPurifier_AttrDef
   |
   --HTMLPurifier_AttrDef_HTML_Bool
Variable Summary
mixed $minimized
mixed $name
Method Summary
HTMLPurifier_AttrDef_HTML_Bool __construct ([ $name = false])
void make ($string $string)
void validate ( $string,  $config,  $context)
Variables
mixed $minimized = true (line 9272)
  • access: public

Redefinition of:
HTMLPurifier_AttrDef::$minimized
Tells us whether or not an HTML attribute is minimized. Has no meaning in other contexts.
mixed $name (line 9271)
  • access: protected

Inherited Variables

Inherited from HTMLPurifier_AttrDef

HTMLPurifier_AttrDef::$required
Methods
Constructor __construct (line 9274)
  • access: public
HTMLPurifier_AttrDef_HTML_Bool __construct ([ $name = false])
  • $name
make (line 9284)
  • access: public
void make ($string $string)
  • $string $string: Name of attribute

Redefinition of:
HTMLPurifier_AttrDef::make()
Factory method for creating this class from a string.
validate (line 9276)
  • 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:23:59 -0500 by phpDocumentor 1.4.3