Пример #1
0
 /**
  * Get the value of this form element (changed to prefill from TypoScript)
  * Either returns arguments['value'], or the correct value for Object Access.
  *
  * @return mixed Value
  */
 protected function getValue($convertObjects = true)
 {
     $value = parent::getValue($convertObjects);
     // prefill value from TypoScript
     if (empty($value) && $this->getValueFromTypoScript()) {
         $value = $this->getValueFromTypoScript();
     }
     return $value;
 }