Пример #1
0
 function visitLabel(\cmu\html\form\products\Label $component)
 {
     $html = "<span ";
     $html .= $component->getHtmlClass();
     $html .= ">";
     $html .= $component->getLabel();
     $html .= "</span>";
     return $html;
 }
Пример #2
0
 function visitLabel(\cmu\html\form\products\Label $component)
 {
     $html = "<label ";
     $html .= $component->getAttributes();
     $html .= ">";
     $html .= $component->getLabel();
     $html .= "</label>";
     return $html;
 }