示例#1
0
文件: Date.php 项目: gudwin/extasy
 public function setValue($newValue)
 {
     if ($this->check($newValue)) {
         parent::setValue($newValue);
     } else {
         parent::setValue(date('Y-m-d'));
     }
 }
示例#2
0
 public function setValue($newValue)
 {
     parent::setValue($newValue);
     $this->normalizeValue();
 }
示例#3
0
文件: grant.php 项目: gudwin/extasy
 public function setValue($newValue)
 {
     $this->changed = true;
     parent::setValue($newValue);
 }