public function setValue($newValue) { if ($this->check($newValue)) { parent::setValue($newValue); } else { parent::setValue(date('Y-m-d')); } }
public function setValue($newValue) { parent::setValue($newValue); $this->normalizeValue(); }
public function setValue($newValue) { $this->changed = true; parent::setValue($newValue); }