HTMLPurifier 4.4.0
HTMLPurifier_AttrDef_Clone Class Reference

Dummy AttrDef that mimics another AttrDef, BUT it generates clones with make. More...

Inheritance diagram for HTMLPurifier_AttrDef_Clone:
HTMLPurifier_AttrDef HTMLPurifier_AttrDef

List of all members.

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.
 __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.

Protected Attributes

 $clone
 What we're cloning.

Detailed Description

Dummy AttrDef that mimics another AttrDef, BUT it generates clones with make.

Definition at line 7 of file Clone.php.


Constructor & Destructor Documentation

HTMLPurifier_AttrDef_Clone::__construct ( clone)

Definition at line 14 of file Clone.php.

References $clone.

HTMLPurifier_AttrDef_Clone::__construct ( clone)

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

References $clone.


Member Function Documentation

HTMLPurifier_AttrDef_Clone::make ( string)

Factory method for creating this class from a string.

Parameters:
$stringString construction info
Returns:
Created AttrDef object corresponding to $string

Reimplemented from HTMLPurifier_AttrDef.

Definition at line 22 of file Clone.php.

HTMLPurifier_AttrDef_Clone::make ( string)

Factory method for creating this class from a string.

Parameters:
$stringString construction info
Returns:
Created AttrDef object corresponding to $string

Reimplemented from HTMLPurifier_AttrDef.

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

HTMLPurifier_AttrDef_Clone::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 8285 of file HTMLPurifier.standalone.php.

References $config.

HTMLPurifier_AttrDef_Clone::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 18 of file Clone.php.

References $config.


Member Data Documentation

HTMLPurifier_AttrDef_Clone::$clone [protected]

What we're cloning.

Definition at line 12 of file Clone.php.

Referenced by __construct().


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