4 * Validates a boolean attribute
6 class HTMLPurifier_AttrDef_HTML_Bool extends HTMLPurifier_AttrDef
17 public $minimized = true;
22 public function __construct($name = false)
28 * @param string $string
29 * @param HTMLPurifier_Config $config
30 * @param HTMLPurifier_Context $context
33 public function validate($string, $config, $context)
39 * @param string $string Name of attribute
40 * @return HTMLPurifier_AttrDef_HTML_Bool
42 public function make($string)
44 return new HTMLPurifier_AttrDef_HTML_Bool($string);