| ILIAS
    release_5-2 Revision v5.2.25-18-g3f80b828510
    | 
Generic property list implementation. More...
 Collaboration diagram for HTMLPurifier_PropertyList:
 Collaboration diagram for HTMLPurifier_PropertyList:| Public Member Functions | |
| __construct ($parent=null) | |
| get ($name) | |
| Recursively retrieves the value for a key.  More... | |
| set ($name, $value) | |
| Sets the value of a key, for this plist.  More... | |
| has ($name) | |
| Returns true if a given key exists.  More... | |
| reset ($name=null) | |
| Resets a value to the value of it's parent, usually the default.  More... | |
| squash ($force=false) | |
| Squashes this property list and all of its property lists into a single array, and returns the array.  More... | |
| getParent () | |
| Returns the parent plist.  More... | |
| setParent ($plist) | |
| Sets the parent plist.  More... | |
| Protected Attributes | |
| $data = array() | |
| Internal data-structure for properties.  More... | |
| $parent | |
| Parent plist.  More... | |
| $cache | |
| Cache.  More... | |
Generic property list implementation.
Definition at line 6 of file PropertyList.php.
| HTMLPurifier_PropertyList::__construct | ( | $parent = null | ) | 
| HTMLPurifier_PropertyList | $parent | Parent plist | 
Definition at line 29 of file PropertyList.php.
References $parent.
| HTMLPurifier_PropertyList::get | ( | $name | ) | 
Recursively retrieves the value for a key.
| string | $name | 
| HTMLPurifier_Exception | 
Definition at line 39 of file PropertyList.php.
References has().
 Here is the call graph for this function:
 Here is the call graph for this function:| HTMLPurifier_PropertyList::getParent | ( | ) | 
Returns the parent plist.
Definition at line 107 of file PropertyList.php.
References $parent.
| HTMLPurifier_PropertyList::has | ( | $name | ) | 
Returns true if a given key exists.
| string | $name | 
Definition at line 66 of file PropertyList.php.
Referenced by get().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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.
| string | $name | 
Definition at line 76 of file PropertyList.php.
| HTMLPurifier_PropertyList::set | ( | $name, | |
| $value | |||
| ) | 
Sets the value of a key, for this plist.
| string | $name | |
| mixed | $value | 
Definition at line 56 of file PropertyList.php.
| HTMLPurifier_PropertyList::setParent | ( | $plist | ) | 
Sets the parent plist.
| HTMLPurifier_PropertyList | $plist | Parent plist | 
Definition at line 116 of file PropertyList.php.
| 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.
| bool | $force | If true, ignores the cache and regenerates the array. | 
Definition at line 91 of file PropertyList.php.
| 
 | protected | 
| 
 | protected | 
Internal data-structure for properties.
@type array
Definition at line 12 of file PropertyList.php.
Referenced by squash().
| 
 | protected | 
Parent plist.
@type HTMLPurifier_PropertyList
Definition at line 18 of file PropertyList.php.
Referenced by __construct(), and getParent().