Generic property list implementation
Definition at line 8173 of file HTMLPurifier.standalone.php.
◆ __construct()
HTMLPurifier_PropertyList::__construct |
( |
|
$parent = null | ) |
|
◆ get()
HTMLPurifier_PropertyList::get |
( |
|
$name | ) |
|
◆ getParent()
HTMLPurifier_PropertyList::getParent |
( |
| ) |
|
◆ has()
HTMLPurifier_PropertyList::has |
( |
|
$name | ) |
|
◆ reset()
HTMLPurifier_PropertyList::reset |
( |
|
$name = null | ) |
|
Resets a value to the value of it's parent, usually the default. If no value is specified, the entire plist is reset.
- Parameters
-
Definition at line 8243 of file HTMLPurifier.standalone.php.
◆ set()
HTMLPurifier_PropertyList::set |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
◆ setParent()
HTMLPurifier_PropertyList::setParent |
( |
|
$plist | ) |
|
◆ squash()
HTMLPurifier_PropertyList::squash |
( |
|
$force = false | ) |
|
Squashes this property list and all of its property lists into a single array, and returns the array. This value is cached by default.
- Parameters
-
bool | $force | If true, ignores the cache and regenerates the array. |
- Returns
- array
Definition at line 8258 of file HTMLPurifier.standalone.php.
◆ $cache
HTMLPurifier_PropertyList::$cache |
|
protected |
◆ $data
HTMLPurifier_PropertyList::$data = array() |
|
protected |
◆ $parent
HTMLPurifier_PropertyList::$parent |
|
protected |
The documentation for this class was generated from the following file: