|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Component of HTMLPurifier_AttrContext that accumulates IDs to prevent dupes. More...
Collaboration diagram for HTMLPurifier_IDAccumulator:Public Member Functions | |
| add ($id) | |
| Add an ID to the lookup table. More... | |
| load ($array_of_ids) | |
| Load a list of IDs into the lookup table. More... | |
Static Public Member Functions | |
| static | build ($config, $context) |
| Builds an IDAccumulator, also initializing the default blacklist. More... | |
Data Fields | |
| $ids = array() | |
| Lookup table of IDs we've accumulated. More... | |
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.
| string | $id | ID to be added. |
Definition at line 36 of file IDAccumulator.php.
|
static |
Builds an IDAccumulator, also initializing the default blacklist.
| HTMLPurifier_Config | $config | Instance of HTMLPurifier_Config |
| HTMLPurifier_Context | $context | Instance of HTMLPurifier_Context |
Definition at line 24 of file IDAccumulator.php.
Referenced by HTMLPurifier\purify(), and HTMLPurifier_AttrValidator\validateToken().
Here is the caller graph for this function:| 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 49 of file IDAccumulator.php.
| HTMLPurifier_IDAccumulator::$ids = array() |
Lookup table of IDs we've accumulated.
Definition at line 16 of file IDAccumulator.php.