Class QWatcherCache
QWatcher is a helper class that allows controls and forms to watch database tables and automatically redraw when changes are detected. It works together with the codegened model classes, the controls, and the QForm class to draw or refresh when needed.
Static functions handle the database updating, while member variables store the current state of a control's watched tables.
This Base class is a template on which to build watchers that use specific caching mechanisms. See QWatcher to select the caching mechanism you would like to use.
- QBaseClass
- QWatcherBase
- QWatcherCache
Located at includes/watchers/QWatcherCache.class.php
public
|
|
public
|
|
public
boolean
|
|
public static
|
#
MarkTableModified( string $strDbName, $strTableName )
Model Save() method should call this to indicate that a table has changed. |
protected static
|
GetKey(),
RegisterTable(),
Watch(),
WatchersChanged()
|
OverrideAttributes(),
__call(),
__get(),
__set()
|
public static
|
$objCache
|
#
null
|
$blnWatcherChanged,
$strAppKey,
$strWatchedKeys
|