/** * @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(); }
public function getValue() { $parent = parent::getValue(); return $parent ? $parent : date('Y-m-d', strtotime('-' . $this->defaulAge . ' years')); }
/** * Overwrite field getContent to add hints * @return string */ public function getContent() { return parent::getContent() . $this->getHint() . $this->getPreview(); }
public function getValue() { return parent::getValue(); }