public function clear($name = null)
	{
		if ($name === null) {
			$this->data = array();
		} elseif (is_array($name)) {
			foreach ($name as $index)
				unset($this->data[$index]);
		} else {
			unset($this->data[$name]);
		}
	}
public function clear($name = null)
	{
		if ($name === null) {
			$this->data = array();
		} elseif (is_array($name)) {
			foreach ($name as $index)
				unset($this->data[$index]);
		} else {
			unset($this->data[$name]);
		}
	}
public function clear ( $ name = null ) { if ( $ name === null ) { $ this -> data = array ( ) ; } elseif ( is_array ( $ name ) ) { foreach ( $ name as $ index ) unset ( $ this -> data [ $ index ] ) ; } else { unset ( $ this -> data [ $ name ] ) ; } }
clears a the entire data or only the given key

@param array|string $name clears only one value if you give a name, multiple values if
you give an array of names, or the entire data if left null
clears a the entire data or only the given key