HTMLPurifier 4.4.0
HTMLPurifier_AttrDef_HTML_Bool Class Reference

Validates a boolean attribute. More...

Inheritance diagram for HTMLPurifier_AttrDef_HTML_Bool:
HTMLPurifier_AttrDef HTMLPurifier_AttrDef

List of all members.

Public Member Functions

 __construct ($name=false)
 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition.
 make ($string)
 __construct ($name=false)
 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition.
 make ($string)

Public Attributes

 $minimized = true
 Tells us whether or not an HTML attribute is minimized.

Protected Attributes

 $name

Detailed Description

Validates a boolean attribute.

Definition at line 6 of file Bool.php.


Constructor & Destructor Documentation

HTMLPurifier_AttrDef_HTML_Bool::__construct ( name = false)

Definition at line 12 of file Bool.php.

References $name.

HTMLPurifier_AttrDef_HTML_Bool::__construct ( name = false)

Definition at line 9953 of file HTMLPurifier.standalone.php.

References $name.


Member Function Documentation

HTMLPurifier_AttrDef_HTML_Bool::make ( string)
Parameters:
$stringName of attribute

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 22 of file Bool.php.

HTMLPurifier_AttrDef_HTML_Bool::make ( string)
Parameters:
$stringName of attribute

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 9963 of file HTMLPurifier.standalone.php.

HTMLPurifier_AttrDef_HTML_Bool::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 9955 of file HTMLPurifier.standalone.php.

HTMLPurifier_AttrDef_HTML_Bool::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 14 of file Bool.php.


Member Data Documentation

HTMLPurifier_AttrDef_HTML_Bool::$minimized = true

Tells us whether or not an HTML attribute is minimized.

Has no meaning in other contexts.

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 10 of file Bool.php.

HTMLPurifier_AttrDef_HTML_Bool::$name [protected]

Definition at line 9 of file Bool.php.

Referenced by __construct().


The documentation for this class was generated from the following files: