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

Public Member Functions

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

Protected Attributes

 $info = array()
 

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

Constructor & Destructor Documentation

◆ __construct()

__construct (   $config)
Parameters
HTMLPurifier_Config$config

Member Function Documentation

◆ validate()

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

Reimplemented from HTMLPurifier_AttrDef.

Here is the call graph for this function:

Field Documentation

◆ $info

$info = array()
protected

Local copy of validators @type HTMLPurifier_AttrDef[]

Note
If we moved specific CSS property definitions to their own classes instead of having them be assembled at run time by CSSDefinition, this wouldn't be necessary. We'd instantiate our own copies.

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