id = $id; $this->icon = $icon; $this->action = $action; } function getHtml() { $actions = " onclick=\"$this->action\""; $html = "