HTMLPurifier 4.4.0
HTMLPurifier_AttrDef_CSS_Border Class Reference

Validates the border property as defined by CSS. More...

Inheritance diagram for HTMLPurifier_AttrDef_CSS_Border:
HTMLPurifier_AttrDef HTMLPurifier_AttrDef

List of all members.

Public Member Functions

 __construct ($config)
 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition.
 __construct ($config)
 validate ($string, $config, $context)
 Validates and cleans passed string according to a definition.

Protected Attributes

 $info = array()
 Local copy of properties this property is shorthand for.

Detailed Description

Validates the border property as defined by CSS.

Definition at line 6 of file Border.php.


Constructor & Destructor Documentation

HTMLPurifier_AttrDef_CSS_Border::__construct ( config)

Definition at line 14 of file Border.php.

References $config, and $def.

HTMLPurifier_AttrDef_CSS_Border::__construct ( config)

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

References $config, and $def.


Member Function Documentation

HTMLPurifier_AttrDef_CSS_Border::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 21 of file Border.php.

References $config, HTMLPurifier_AttrDef::mungeRgb(), and HTMLPurifier_AttrDef::parseCDATA().

HTMLPurifier_AttrDef_CSS_Border::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 8974 of file HTMLPurifier.standalone.php.

References $config, HTMLPurifier_AttrDef::mungeRgb(), and HTMLPurifier_AttrDef::parseCDATA().


Member Data Documentation

HTMLPurifier_AttrDef_CSS_Border::$info = array() [protected]

Local copy of properties this property is shorthand for.

Definition at line 12 of file Border.php.


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