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

Public Member Functions

 __construct ($def, $element)
 
 validate ($string, $config, $context)
 
- Public Member Functions inherited from HTMLPurifier_AttrDef
 validate ($string, $config, $context)
 
 parseCDATA ($string)
 
 make ($string)
 

Data Fields

 $def
 
 $element
 
- Data Fields inherited from HTMLPurifier_AttrDef
 $minimized = false
 
 $required = false
 

Additional Inherited Members

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

Detailed Description

Decorator which enables CSS properties to be disabled for specific elements.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $def,
  $element 
)
Parameters
HTMLPurifier_AttrDef$defDefinition to wrap
string$elementElement to deny

Member Function Documentation

◆ validate()

validate (   $string,
  $config,
  $context 
)

Checks if CurrentToken is set and equal to $this->element

Parameters
string$string
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Returns
bool|string

Reimplemented from HTMLPurifier_AttrDef.

Field Documentation

◆ $def

◆ $element

$element

@type string


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