|
| __construct ($parent=null) |
|
| get ($name) |
| Recursively retrieves the value for a key.
|
|
| getParent () |
| Returns the parent plist.
|
|
| has ($name) |
| Returns true if a given key exists.
|
|
| reset ($name=null) |
| Resets a value to the value of it's parent, usually the default.
|
|
| set ($name, $value) |
| Sets the value of a key, for this plist.
|
|
| setParent ($plist) |
| Sets the parent plist.
|
|
| squash ($force=false) |
| Squashes this property list and all of its property lists into a single array, and returns the array.
|
|
◆ __construct()
HTMLPurifier_PropertyList::__construct |
( |
| $parent = null | ) |
|
◆ get()
HTMLPurifier_PropertyList::get |
( |
| $name | ) |
|
Recursively retrieves the value for a key.
- Parameters
-
- Exceptions
-
◆ getParent()
HTMLPurifier_PropertyList::getParent |
( |
| ) |
|
Returns the parent plist.
- Return values
-
◆ has()
HTMLPurifier_PropertyList::has |
( |
| $name | ) |
|
Returns true if a given key exists.
- Parameters
-
- Return values
-
◆ 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
-
◆ set()
HTMLPurifier_PropertyList::set |
( |
| $name, |
|
|
| $value ) |
Sets the value of a key, for this plist.
- Parameters
-
◆ setParent()
HTMLPurifier_PropertyList::setParent |
( |
| $plist | ) |
|
Sets the parent plist.
- Parameters
-
◆ 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. |
- Return values
-
◆ $cache
HTMLPurifier_PropertyList::$cache |
|
protected |
◆ $data
HTMLPurifier_PropertyList::$data = array() |
|
protected |
Internal data-structure for properties.
@type array
◆ $parent
HTMLPurifier_PropertyList::$parent |
|
protected |
The documentation for this class was generated from the following file:
- lib/htmlpurifier/HTMLPurifier/PropertyList.php