HTMLPurifier 4.4.0
HTMLPurifier_AttrDef_CSS_ListStyle Class Reference

Validates shorthand CSS property list-style. More...

Inheritance diagram for HTMLPurifier_AttrDef_CSS_ListStyle:
HTMLPurifier_AttrDef HTMLPurifier_AttrDef

List of all members.

Public Member Functions

 __construct ($config)
 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition.
 __construct ($config)
 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition.

Protected Attributes

 $info
 Local copy of component validators.

Detailed Description

Validates shorthand CSS property list-style.

Warning:
Does not support url tokens that have internal spaces.

Definition at line 7 of file ListStyle.php.


Constructor & Destructor Documentation

HTMLPurifier_AttrDef_CSS_ListStyle::__construct ( config)

Definition at line 16 of file ListStyle.php.

References $config, and $def.

HTMLPurifier_AttrDef_CSS_ListStyle::__construct ( config)

Definition at line 9677 of file HTMLPurifier.standalone.php.

References $config, and $def.


Member Function Documentation

HTMLPurifier_AttrDef_CSS_ListStyle::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 23 of file ListStyle.php.

References $config, and HTMLPurifier_AttrDef::parseCDATA().

HTMLPurifier_AttrDef_CSS_ListStyle::validate ( string,
config,
context 
)

Validates and cleans passed string according to a definition.

Parameters:
$stringString to be validated and cleaned.
$configMandatory HTMLPurifier_Config object.
$contextMandatory HTMLPurifier_AttrContext object.

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 9684 of file HTMLPurifier.standalone.php.

References $config, and HTMLPurifier_AttrDef::parseCDATA().


Member Data Documentation

HTMLPurifier_AttrDef_CSS_ListStyle::$info [protected]

Local copy of component validators.

Note:
See HTMLPurifier_AttrDef_CSS_Font::$info for a similar impl.

Definition at line 14 of file ListStyle.php.


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