/** * @return string */ public function getContent() { if ($this->options) { return parent::getContent(); } $this->labelHtmlOptions['class'] = (isset($this->labelHtmlOptions['class']) ? $this->labelHtmlOptions['class'] . ' ' : '') . $this->labelClass; return $this->getInput() . $this->getHTMLError(); }
/** * Overwrite field getContent to add hints * @return string */ public function getContent() { return parent::getContent() . $this->getHint() . $this->getPreview(); }