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

Public Member Functions

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

Protected Attributes

 $info
 

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 shorthand CSS property background.

Warning
Does not support url tokens that have internal spaces.

Definition at line 7 of file Background.php.

Constructor & Destructor Documentation

HTMLPurifier_AttrDef_CSS_Background::__construct (   $config)

Definition at line 16 of file Background.php.

References $config.

Member Function Documentation

HTMLPurifier_AttrDef_CSS_Background::validate (   $string,
  $config,
  $context 
)

Definition at line 25 of file Background.php.

References $config, $i, $ret, $status, HTMLPurifier_AttrDef\mungeRgb(), and HTMLPurifier_AttrDef\parseCDATA().

Here is the call graph for this function:

Member Data Documentation

HTMLPurifier_AttrDef_CSS_Background::$info
protected

Local copy of component validators.

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

Definition at line 14 of file Background.php.


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