function visitTextArea(\cmu\html\form\products\TextArea $component) { $html = "<span "; $html .= $component->getHtmlClass(); $html .= ">"; $html .= $component->getTextareatext(); $html .= "</span>"; return $html; }
function visitTextArea(\cmu\html\form\products\TextArea $component) { $html = "<textarea "; $html .= $component->getAttributes(); $html .= ">"; $html .= $component->getTextareatext(); $html .= "</textarea>"; $html .= $component->returnHint(); $html .= $component->returnErrorMessage(); return $html; }