Öffentliche Methoden | |
__construct ($parent=null) | |
get ($name) | |
set ($name, $value) | |
has ($name) | |
reset ($name=null) | |
squash ($force=false) | |
getParent () | |
setParent ($plist) | |
Geschützte Attribute | |
$data = array() | |
$parent | |
$cache | |
Generic property list implementation
Definiert in Zeile 6 der Datei PropertyList.php.
__construct | ( | $parent = null ) |
HTMLPurifier_PropertyList | $parent | Parent plist |
Definiert in Zeile 29 der Datei PropertyList.php.
Benutzt $parent.
get | ( | $name) |
Recursively retrieves the value for a key
string | $name |
HTMLPurifier_Exception |
Definiert in Zeile 39 der Datei PropertyList.php.
Benutzt has().
getParent | ( | ) |
Returns the parent plist.
Definiert in Zeile 107 der Datei PropertyList.php.
Benutzt $parent.
has | ( | $name) |
Returns true if a given key exists
string | $name |
Definiert in Zeile 66 der Datei PropertyList.php.
Wird benutzt von get().
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 |
Definiert in Zeile 76 der Datei PropertyList.php.
set | ( | $name, | |
$value | |||
) |
Sets the value of a key, for this plist
string | $name | |
mixed | $value |
Definiert in Zeile 56 der Datei PropertyList.php.
setParent | ( | $plist) |
Sets the parent plist.
HTMLPurifier_PropertyList | $plist | Parent plist |
Definiert in Zeile 116 der Datei PropertyList.php.
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. |
Definiert in Zeile 91 der Datei PropertyList.php.
|
protected |
|
protected |
Internal data-structure for properties. array
Definiert in Zeile 12 der Datei PropertyList.php.
Wird benutzt von squash().
|
protected |
Parent plist. HTMLPurifier_PropertyList
Definiert in Zeile 18 der Datei PropertyList.php.
Wird benutzt von __construct() und getParent().