HTMLPurifier 4.4.0
|
Component of HTMLPurifier_AttrContext that accumulates IDs to prevent dupes. More...
Public Member Functions | |
add ($id) | |
Add an ID to the lookup table. | |
load ($array_of_ids) | |
Load a list of IDs into the lookup table. | |
add ($id) | |
Add an ID to the lookup table. | |
load ($array_of_ids) | |
Load a list of IDs into the lookup table. | |
Static Public Member Functions | |
static | build ($config, $context) |
Builds an IDAccumulator, also initializing the default blacklist. | |
static | build ($config, $context) |
Builds an IDAccumulator, also initializing the default blacklist. | |
Public Attributes | |
$ids = array() | |
Lookup table of IDs we've accumulated. |
Component of HTMLPurifier_AttrContext that accumulates IDs to prevent dupes.
Definition at line 9 of file IDAccumulator.php.
HTMLPurifier_IDAccumulator::add | ( | $ | id | ) |
Add an ID to the lookup table.
$id | ID to be added. |
Definition at line 35 of file IDAccumulator.php.
HTMLPurifier_IDAccumulator::add | ( | $ | id | ) |
Add an ID to the lookup table.
$id | ID to be added. |
Definition at line 5455 of file HTMLPurifier.standalone.php.
static HTMLPurifier_IDAccumulator::build | ( | $ | config, |
$ | context | ||
) | [static] |
Builds an IDAccumulator, also initializing the default blacklist.
$config | Instance of HTMLPurifier_Config |
$context | Instance of HTMLPurifier_Context |
Definition at line 24 of file IDAccumulator.php.
References $config.
Referenced by HTMLPurifier::purify(), and HTMLPurifier_AttrValidator::validateToken().
static HTMLPurifier_IDAccumulator::build | ( | $ | config, |
$ | context | ||
) | [static] |
Builds an IDAccumulator, also initializing the default blacklist.
$config | Instance of HTMLPurifier_Config |
$context | Instance of HTMLPurifier_Context |
Definition at line 5444 of file HTMLPurifier.standalone.php.
References $config.
HTMLPurifier_IDAccumulator::load | ( | $ | array_of_ids | ) |
Load a list of IDs into the lookup table.
$array_of_ids | Array of IDs to load |
Definition at line 45 of file IDAccumulator.php.
HTMLPurifier_IDAccumulator::load | ( | $ | array_of_ids | ) |
Load a list of IDs into the lookup table.
$array_of_ids | Array of IDs to load |
Definition at line 5465 of file HTMLPurifier.standalone.php.
HTMLPurifier_IDAccumulator::$ids = array() |
Lookup table of IDs we've accumulated.
Definition at line 16 of file IDAccumulator.php.