46 return $this->parent->get(
$name);
56 public function set(
$name, $value)
68 return array_key_exists(
$name, $this->
data);
91 public function squash($force =
false)
93 if ($this->cache !== null && !$force) {
97 return $this->cache = array_merge($this->parent->squash($force),
$this->data);
118 $this->parent = $plist;
__construct($parent=null)
getParent()
Returns the parent plist.
Generic property list implementation.
setParent($plist)
Sets the parent plist.
Create styles array
The data for the language used.
has($name)
Returns true if a given key exists.
Global exception class for HTML Purifier; any exceptions we throw are from here.
squash($force=false)
Squashes this property list and all of its property lists into a single array, and returns the array...
reset($name=null)
Resets a value to the value of it's parent, usually the default.
$data
Internal data-structure for properties.