Class HTMLPurifier_PropertyList
Generic property list implementation
Methods summary
public
|
|
public
|
#
get( $name )
Recursively retrieves the value for a key
Recursively retrieves the value for a key
|
public
|
#
set( $name, $value )
Sets the value of a key, for this plist
Sets the value of a key, for this plist
|
public
|
#
has( $name )
Returns true if a given key exists
Returns true if a given key exists
|
public
|
#
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.
Resets a value to the value of it's parent, usually the default. If no value
is specified, the entire plist is reset.
|
public
|
#
squash( $force $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.
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
- $force
$force If true, ignores the cache and regenerates the array.
|
public
|
#
getParent( )
Returns the parent plist.
Returns the parent plist.
|
public
|
|
Properties summary
protected
array
|
$data
|
array() |
#
Internal data-structure for properties
Internal data-structure for properties
|
protected
|
$parent
|
|
|
protected
|
$cache
|
|
|