loadDefaultDecoratorsIsDisabled()) { return; } $decorators = $this->getDecorators(); if (empty($decorators)) { $this->addDecorator('ViewHelper') ->addDecorator( 'HtmlTag', array('tag' => 'dd', 'class' => 'form_header', 'id' => $this->getId() . '-element')) ->addDecorator( 'Label', array('tag' => 'dt', 'tagOptions' => array('class' => 'hidden'), 'disableFor' => true) ); } } public function setValue($value) { if (!empty($value)) { $this->setLabel($value); } return $this; } public function getValue() { return $this->getLabel(); } }