public function trackChange($what, $old = null, $new = null)
 {
     if ($this->field && $this->page) {
         $this->page->trackChange($this->field->name);
     }
     return parent::trackChange($what, $old, $new);
 }
Example #2
0
 public function trackChange($what)
 {
     if ($this->field && $this->page) {
         $this->page->trackChange($this->field->name);
     }
     return parent::trackChange($what);
 }