function visitLabel(\cmu\html\form\products\Label $component) { $html = "<span "; $html .= $component->getHtmlClass(); $html .= ">"; $html .= $component->getLabel(); $html .= "</span>"; return $html; }
function visitLabel(\cmu\html\form\products\Label $component) { $html = "<label "; $html .= $component->getAttributes(); $html .= ">"; $html .= $component->getLabel(); $html .= "</label>"; return $html; }