HTMLPurifier 4.4.0
HTMLPurifier_PropertyList Class Reference

Generic property list implementation. More...

List of all members.

Public Member Functions

 __construct ($parent=null)
 get ($name)
 Recursively retrieves the value for a key.
 set ($name, $value)
 Sets the value of a key, for this 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.
 squash ($force=false)
 Squashes this property list and all of its property lists into a single array, and returns the array.
 getParent ()
 Returns the parent plist.
 setParent ($plist)
 Sets the parent plist.
 __construct ($parent=null)
 get ($name)
 Recursively retrieves the value for a key.
 set ($name, $value)
 Sets the value of a key, for this 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.
 squash ($force=false)
 Squashes this property list and all of its property lists into a single array, and returns the array.
 getParent ()
 Returns the parent plist.
 setParent ($plist)
 Sets the parent plist.

Protected Attributes

 $data = array()
 Internal data-structure for properties.
 $parent
 Parent plist.
 $cache

Detailed Description

Generic property list implementation.

Definition at line 6 of file PropertyList.php.


Constructor & Destructor Documentation

HTMLPurifier_PropertyList::__construct ( parent = null)

Definition at line 20 of file PropertyList.php.

References $parent.

HTMLPurifier_PropertyList::__construct ( parent = null)

Definition at line 6639 of file HTMLPurifier.standalone.php.

References $parent.


Member Function Documentation

HTMLPurifier_PropertyList::get ( name)

Recursively retrieves the value for a key.

Definition at line 27 of file PropertyList.php.

References has().

HTMLPurifier_PropertyList::get ( name)

Recursively retrieves the value for a key.

Definition at line 6646 of file HTMLPurifier.standalone.php.

References has().

HTMLPurifier_PropertyList::getParent ( )

Returns the parent plist.

Definition at line 74 of file PropertyList.php.

HTMLPurifier_PropertyList::getParent ( )

Returns the parent plist.

Definition at line 6693 of file HTMLPurifier.standalone.php.

HTMLPurifier_PropertyList::has ( name)

Returns true if a given key exists.

Definition at line 6663 of file HTMLPurifier.standalone.php.

HTMLPurifier_PropertyList::has ( name)

Returns true if a given key exists.

Definition at line 44 of file PropertyList.php.

Referenced by get().

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.

Definition at line 52 of file PropertyList.php.

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.

Definition at line 6671 of file HTMLPurifier.standalone.php.

HTMLPurifier_PropertyList::set ( name,
value 
)

Sets the value of a key, for this plist.

Definition at line 37 of file PropertyList.php.

HTMLPurifier_PropertyList::set ( name,
value 
)

Sets the value of a key, for this plist.

Definition at line 6656 of file HTMLPurifier.standalone.php.

HTMLPurifier_PropertyList::setParent ( plist)

Sets the parent plist.

Definition at line 6700 of file HTMLPurifier.standalone.php.

HTMLPurifier_PropertyList::setParent ( plist)

Sets the parent plist.

Definition at line 81 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.

Parameters:
$forceIf true, ignores the cache and regenerates the array.

Definition at line 6681 of file HTMLPurifier.standalone.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.

Parameters:
$forceIf true, ignores the cache and regenerates the array.

Definition at line 62 of file PropertyList.php.


Member Data Documentation

HTMLPurifier_PropertyList::$cache [protected]

Definition at line 18 of file PropertyList.php.

HTMLPurifier_PropertyList::$data = array() [protected]

Internal data-structure for properties.

Definition at line 11 of file PropertyList.php.

HTMLPurifier_PropertyList::$parent [protected]

Parent plist.

Definition at line 16 of file PropertyList.php.

Referenced by __construct().


The documentation for this class was generated from the following files: