/** * Get fixed value setting for the input. * * @return string */ public function getFixedValue() { $value = parent::getFixedValue(); if ($value == null) { $value = ''; } return (string) $value; }
/** * Get fixed value of the input setting. * * @return int|null */ public function getFixedValue() { $fixedValue = parent::getFixedValue(); if ($fixedValue) { return intval($fixedValue, 10); } return null; }
/** * Get input fixed value. * * @return mixed */ public function getFixedValue() { // if ($this->get('fixedValue')) { // return date_create($this->get('fixedValue')); // } // // return null; return parent::getFixedValue(); }