text = $value; return $this; } return $this->text; } /** * The HTML representation of this element * * @return string */ protected function mainElementHTML() { $escText = '"' . str_replace(array("\r", "\n"), array('\r', '\n'), addslashes($this->text)) . '"'; $attrs = buildAttributes($this->attrs()); $canvasText = << EOT; return $canvasText; } }