![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
| __construct ($parent=null) | |
| get ($name) | |
| set ($name, $value) | |
| has ($name) | |
| reset ($name=null) | |
| squash ($force=false) | |
| getParent () | |
| setParent ($plist) | |
Protected Attributes | |
| $data = array() | |
| $parent | |
| $cache | |
Generic property list implementation
| __construct | ( | $parent = null | ) |
| HTMLPurifier_PropertyList | $parent | Parent plist |
| get | ( | $name | ) |
Recursively retrieves the value for a key
| string | $name |
| HTMLPurifier_Exception |

| getParent | ( | ) |
Returns the parent plist.
| has | ( | $name | ) |
Returns true if a given key exists
| string | $name |

| 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.
| string | $name |
| set | ( | $name, | |
| $value | |||
| ) |
Sets the value of a key, for this plist
| string | $name | |
| mixed | $value |
| setParent | ( | $plist | ) |
Sets the parent plist.
| HTMLPurifier_PropertyList | $plist | Parent plist |
| 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.
| bool | $force | If true, ignores the cache and regenerates the array. |
|
protected |
Cache. @type array
|
protected |
Internal data-structure for properties. @type array
|
protected |
Parent plist. @type HTMLPurifier_PropertyList