Moodle  2.2.1
http://www.collinsharper.com
HTMLPurifier_AttrDef_CSS_Background Class Reference
Inheritance diagram for HTMLPurifier_AttrDef_CSS_Background:
Collaboration diagram for HTMLPurifier_AttrDef_CSS_Background:

Public Member Functions

 __construct ($config)
 validate ($string, $config, $context)

Protected Attributes

 $info

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

__construct ( config)

Definition at line 16 of file Background.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 25 of file Background.php.

Here is the call graph for this function:


Field Documentation

$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:
 All Data Structures Namespaces Files Functions Variables Enumerations