public function set($key, $value = NULL) { if (is_array($key)) { foreach ($key as $name => $value) { $this->_data[$name] = $value; } } else { $this->_data[$key] = $value; } return $this; }