XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_AttrDef_HTML_ID Class Reference
Inheritance diagram for HTMLPurifier_AttrDef_HTML_ID:
Inheritance graph

Public Member Functions

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

Protected Attributes

 $selector
 

Additional Inherited Members

- Public Attributes inherited from HTMLPurifier_AttrDef
 $minimized = false
 
 $required = false
 
- Protected Member Functions inherited from HTMLPurifier_AttrDef
 expandCSSEscape ($string)
 
 mungeRgb ($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()!

Definition at line 12 of file ID.php.

Constructor & Destructor Documentation

HTMLPurifier_AttrDef_HTML_ID::__construct (   $selector = false)

Definition at line 24 of file ID.php.

References $selector.

Member Function Documentation

HTMLPurifier_AttrDef_HTML_ID::validate (   $id,
  $config,
  $context 
)

Definition at line 28 of file ID.php.

References $config, and $result.

Member Data Documentation

HTMLPurifier_AttrDef_HTML_ID::$selector
protected

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

Definition at line 22 of file ID.php.

Referenced by __construct().


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