Exemplo n.º 1
0
 public function setValue($newValue)
 {
     if ($this->check($newValue)) {
         parent::setValue($newValue);
     } else {
         parent::setValue(date('Y-m-d'));
     }
 }
Exemplo n.º 2
0
 public function setValue($newValue)
 {
     parent::setValue($newValue);
     $this->normalizeValue();
 }
Exemplo n.º 3
0
 public function setValue($newValue)
 {
     $this->changed = true;
     parent::setValue($newValue);
 }