1: <?php
2: /**
3: * QWatcherNone is a watcher that turns off Watcher functionality. This is the default watcher. If you want to use
4: * a watcher, you must specify a Watcher type in the QWatcher class in you project/include/controls directory
5: */
6:
7: include ('QWatcherBase.class.php');
8:
9: class QWatcherNone extends QWatcherBase {
10:
11: /**
12: * Records the current state of the watched tables.
13: */
14: public function MakeCurrent() {
15: }
16:
17: /**
18: *
19: * @return bool
20: */
21: public function IsCurrent() {
22: return true;
23: }
24:
25: /**
26: * Model Save() method should call this to indicate that a table has changed.
27: *
28: * @param string $strTableName
29: * @throws QCallerException
30: */
31: static public function MarkTableModified ($strDbName, $strTableName) {
32: }
33:
34: /**
35: * Support function for the Form to determine if any of the watchers have changed.
36: *
37: * @param $strFormWatcherTime
38: * @return bool
39: */
40: static public function FormWatcherChanged (&$strFormWatcherTime) {
41: return false;
42: }
43:
44: }