color != "") $temp.= " color=\"".htmlspecialchars($this->color)."\""; if ($this->opacity != "") $temp.= " opacity=\"".htmlspecialchars($this->opacity)."\""; if ($this->quantity != "") $temp.= " quantity=\"".htmlspecialchars($this->quantity)."\""; if ($this->label != "") $temp.= " label=\"".htmlspecialchars($this->label)."\""; $temp .= " />\n"; return $temp; } /** * creates the html-form-fragment for this object * * @param $id string containing a prefix that should be used to identify this * object's html fields. This must be done, so that the generateObjectFromPost(...) * function can address the fields belonging to this object in the http-post. * * @param string $offset string used for formatting the output * @return string containing the html-form-fragment */ function generateHtmlForm($id, $offset = "") { $temp = ""; $temp .= $offset."
\n";
$temp .= $offset." ColormapEntry \n"; $number = split("_", $id); $number = $number[count($number)-1]; $temp .= $offset." parent."&number=".$number."\">löschen\n"; $temp .= $offset." \n"; $temp .= $offset." | \n";
$temp .= $offset." \n";
$temp .= $offset."
| \n";
$temp .= $offset."