|
| add ($id) |
| Add an ID to the lookup table.
|
|
| load ($array_of_ids) |
| Load a list of IDs into the lookup table.
|
|
|
static | build ($config, $context) |
| Builds an IDAccumulator, also initializing the default blacklist.
|
|
|
| $ids = array() |
| Lookup table of IDs we've accumulated.
|
|
◆ add()
HTMLPurifier_IDAccumulator::add |
( |
| $id | ) |
|
Add an ID to the lookup table.
- Parameters
-
- Return values
-
bool | status, true if success, false if there's a dupe |
◆ build()
static HTMLPurifier_IDAccumulator::build |
( |
| $config, |
|
|
| $context ) |
|
static |
Builds an IDAccumulator, also initializing the default blacklist.
- Parameters
-
- Return values
-
◆ load()
HTMLPurifier_IDAccumulator::load |
( |
| $array_of_ids | ) |
|
Load a list of IDs into the lookup table.
- Parameters
-
$array_of_ids | Array of IDs to load |
- Note
- This function doesn't care about duplicates
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/IDAccumulator.php