39 public function get($name)
41 if ($this->
has($name)) {
42 return $this->
data[$name];
46 return $this->
parent->get($name);
56 public function set($name, $value)
58 $this->
data[$name] = $value;
66 public function has($name)
68 return array_key_exists($name, $this->
data);
76 public function reset($name = null)
81 unset($this->
data[$name]);
91 public function squash($force =
false)
93 if ($this->cache !== null && !$force) {
__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.