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