API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_AttrDef_HTML_Bool Class Reference
Inheritance diagram for HTMLPurifier_AttrDef_HTML_Bool:
Collaboration diagram for HTMLPurifier_AttrDef_HTML_Bool:

Public Member Functions

 __construct ($name=false)
 
 validate ($string, $config, $context)
 
 make ($string)
 
- Public Member Functions inherited from HTMLPurifier_AttrDef
 validate ($string, $config, $context)
 
 parseCDATA ($string)
 
 make ($string)
 

Data Fields

 $minimized = true
 
- Data Fields inherited from HTMLPurifier_AttrDef
 $minimized = false
 
 $required = false
 

Protected Attributes

 $name
 

Additional Inherited Members

- Protected Member Functions inherited from HTMLPurifier_AttrDef
 mungeRgb ($string)
 
 expandCSSEscape ($string)
 

Detailed Description

Validates a boolean attribute

Constructor & Destructor Documentation

◆ __construct()

__construct (   $name = false)
Parameters
bool | string$name

Member Function Documentation

◆ make()

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

Reimplemented from HTMLPurifier_AttrDef.

◆ validate()

validate (   $string,
  $config,
  $context 
)
Parameters
string$string
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
bool|string

Reimplemented from HTMLPurifier_AttrDef.

Field Documentation

◆ $minimized

$minimized = true

@type bool

◆ $name

$name
protected

@type string


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