Cheetah
Public Member Functions | Protected Attributes | List of all members
HTMLPurifier_AttrDef_CSS_Font Class Reference
Inheritance diagram for HTMLPurifier_AttrDef_CSS_Font:
HTMLPurifier_AttrDef

Public Member Functions

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

Protected Attributes

 $info = array()
 

Additional Inherited Members

- Public Attributes 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.

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

Constructor & Destructor Documentation

◆ __construct()

HTMLPurifier_AttrDef_CSS_Font::__construct (   $config)
Parameters
HTMLPurifier_Config$config

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

Member Function Documentation

◆ validate()

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

Reimplemented from HTMLPurifier_AttrDef.

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

Member Data Documentation

◆ $info

HTMLPurifier_AttrDef_CSS_Font::$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.

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


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