public function html($name, $value) { if (empty($this->html)) { $this->html = array($name => $value); } else { $this->html[$name] = $value; } }