|
ILIAS
release_4-3 Revision
|
Dummy AttrDef that mimics another AttrDef, BUT it generates clones with make. More...
Inheritance diagram for HTMLPurifier_AttrDef_Clone:
Collaboration diagram for HTMLPurifier_AttrDef_Clone:Public Member Functions | |
| __construct ($clone) | |
| validate ($v, $config, $context) | |
| Validates and cleans passed string according to a definition. | |
| make ($string) | |
| Factory method for creating this class from a string. | |
Public Member Functions inherited from HTMLPurifier_AttrDef | |
| parseCDATA ($string) | |
| Convenience method that parses a string as if it were CDATA. | |
Protected Attributes | |
| $clone | |
| What we're cloning. | |
Additional Inherited Members | |
Data Fields inherited from HTMLPurifier_AttrDef | |
| $minimized = false | |
| Tells us whether or not an HTML attribute is minimized. | |
| $required = false | |
| Tells us whether or not an HTML attribute is required. | |
Protected Member Functions inherited from HTMLPurifier_AttrDef | |
| mungeRgb ($string) | |
| Removes spaces from rgb(0, 0, 0) so that shorthand CSS properties work properly. | |
| expandCSSEscape ($string) | |
| Parses a possibly escaped CSS string and returns the "pure" version of it. | |
Dummy AttrDef that mimics another AttrDef, BUT it generates clones with make.
| HTMLPurifier_AttrDef_Clone::__construct | ( | $clone | ) |
| HTMLPurifier_AttrDef_Clone::make | ( | $string | ) |
Factory method for creating this class from a string.
| $string | String construction info |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 22 of file Clone.php.
References $clone.
| HTMLPurifier_AttrDef_Clone::validate | ( | $string, | |
| $config, | |||
| $context | |||
| ) |
Validates and cleans passed string according to a definition.
| $string | String to be validated and cleaned. |
| $config | Mandatory HTMLPurifier_Config object. |
| $context | Mandatory HTMLPurifier_AttrContext object. |
Reimplemented from HTMLPurifier_AttrDef.
Definition at line 18 of file Clone.php.
|
protected |
What we're cloning.
Definition at line 12 of file Clone.php.
Referenced by __construct(), and make().