Moodle  2.2.1
http://www.collinsharper.com
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)

Protected Attributes

 $info = array()

Detailed Description

Validates shorthand CSS property font.

Definition at line 6 of file Font.php.


Constructor & Destructor Documentation

__construct ( config)

Definition at line 19 of file Font.php.

Here is the call graph for this function:


Member Function Documentation

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 29 of file Font.php.

Here is the call graph for this function:


Field Documentation

$info = array() [protected]

Local copy of component validators.

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 17 of file Font.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations