Example #1
0
 function watchCompare($old, $new)
 {
     $o = '';
     $items = $this->getItemIds();
     $n = $this->getItemLabels($items);
     return parent::watchCompare($o, $n);
     // then compare as text
 }
Example #2
0
 function watchCompare($old, $new)
 {
     global $prefs;
     $dformat = $prefs['short_date_format'] . ' ' . $prefs['short_time_format'];
     $old = TikiLib::lib('tiki')->date_format($dformat, (int) $old);
     $new = TikiLib::lib('tiki')->date_format($dformat, (int) $new);
     return parent::watchCompare($old, $new);
 }
Example #3
0
 function watchCompare($old, $new)
 {
     $o = $this->getItemLabel($old);
     $n = $this->getItemLabel($new);
     return parent::watchCompare($o, $n);
     // then compare as text
 }