getLabel(); if (empty($label)) { return ''; } $decorator = $element->getDecorator('Label'); if (false === $decorator) { $decorator = new Qs_Form_Decorator_Label(); } if ($element instanceof Qs_Form_Element_Static || $element instanceof Zend_Form_Element_Radio || $element instanceof Qs_Form_Element_MultiCheckbox ) { $decorator->setOption('disableFor', true); } $decorator->setElement($element); $content = $decorator->render(''); return $content; }