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

Public Member Functions

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

Protected Attributes

 $length
 
 $percentage
 

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 the value of background-position.

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

Constructor & Destructor Documentation

◆ __construct()

HTMLPurifier_AttrDef_CSS_BackgroundPosition::__construct ( )

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

Member Function Documentation

◆ validate()

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

Reimplemented from HTMLPurifier_AttrDef.

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

Member Data Documentation

◆ $length

HTMLPurifier_AttrDef_CSS_BackgroundPosition::$length
protected

◆ $percentage

HTMLPurifier_AttrDef_CSS_BackgroundPosition::$percentage
protected

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