id = $id; $this->action = $action; $this->elem = $elem; $this->attributes = array(); $this->style = ""; } function addAttribute($attribute, $value) { $this->attributes[] = array($attribute, $value); } function getHtml() { $html = ""; $html .= "
\n"; return $html; } } ?>