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

Public Member Functions

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

Protected Attributes

 $selector
 

Additional Inherited Members

- Data Fields inherited from HTMLPurifier_AttrDef
 $minimized = false
 
 $required = false
 
- Protected Member Functions inherited from HTMLPurifier_AttrDef
 mungeRgb ($string)
 
 expandCSSEscape ($string)
 

Detailed Description

Validates the HTML attribute ID.

Warning
Even though this is the id processor, it will ignore the directive Attr:IDBlacklist, since it will only go according to the ID accumulator. Since the accumulator is automatically generated, it will have already absorbed the blacklist. If you're hacking around, make sure you use load()!

Constructor & Destructor Documentation

◆ __construct()

__construct (   $selector = false)
Parameters
bool$selector

Member Function Documentation

◆ validate()

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

Reimplemented from HTMLPurifier_AttrDef.

Field Documentation

◆ $selector

$selector
protected

Determines whether or not we're validating an ID in a CSS selector context. @type bool


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