Свойство | Type | Description | |
---|---|---|---|
$ids | Lookup table of IDs we've accumulated. |
Méthode | Description | |
---|---|---|
add ( string $id ) : boolean | Add an ID to the lookup table. | |
build ( HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : HTMLPurifier_IDAccumulator | Builds an IDAccumulator, also initializing the default blacklist | |
load ( $array_of_ids ) | Load a list of IDs into the lookup table |
public static build ( HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : HTMLPurifier_IDAccumulator | ||
$config | HTMLPurifier_Config | Instance of HTMLPurifier_Config |
$context | HTMLPurifier_Context | Instance of HTMLPurifier_Context |
Résultat | HTMLPurifier_IDAccumulator | Fully initialized HTMLPurifier_IDAccumulator |
public load ( $array_of_ids ) | ||
$array_of_ids | Array of IDs to load |