Example #1
0
 /**
  * {@inheritDoc}
  */
 public function getValue()
 {
     if (null === ($value = parent::getValue())) {
         return (string) $this->getCurrencyList()->getDefault();
     }
     return $value;
 }
Example #2
0
 /**
  * {@inheritDoc}
  */
 public function getValue()
 {
     if (null === ($value = parent::getValue())) {
         return (string) Locale::getDefault();
     }
     return $value;
 }
Example #3
0
 /**
  * {@inheritDoc}
  */
 public function getValue()
 {
     if (!$this->value) {
         $this->value = date_default_timezone_get();
     }
     return parent::getValue();
 }