constructor __construct [line 88]
method atomicRenameAll [line 149]
void atomicRenameAll(
string
$oldPrefix, string
$newPrefix)
|
|
Rename all tables from $oldPrefix to $newPrefix in one transaction. This is used when loading the WURFL device data to atomically switch from the old data to the new data.
NOTE: the Cache table is not renamed since it is converted at a later stage
Tags:
Overridden in child classes as:
- TeraWurflDatabase_MySQL5::atomicRenameAll()
Parameters:
method clearTable [line 206]
method connect [line 211]
method createCacheTable [line 183]
method createGenericDeviceTable [line 161]
method createIndexTable [line 195]
method createProcedures [line 233]
method createSettingsTable [line 200]
method getActualDeviceAncestor [line 106]
method getCachedUserAgents [line 260]
method getDeviceFallBackTree [line 141]
method getDeviceFromCache [line 171]
method getDeviceFromID [line 100]
method getDeviceFromUA [line 118]
method getDeviceFromUA_LD [line 134]
method getDeviceFromUA_RIS [line 126]
method getFullDeviceList [line 112]
method getLastError [line 288]
Returns the most recent error message
Tags:
method getMatcherTableList [line 249]
method getServerVersion [line 283]
method getSetting [line 226]
method getTableList [line 244]
method getTableStats [line 255]
method initializeDB [line 265]
Drops and recreates the current database and procedures
Tags:
method loadDevices [line 155]
method rebuildCacheTable [line 188]
method saveDeviceInCache [line 178]
method SQLPrep [line 239]
method updateSetting [line 220]
method verifyConfig [line 276]