constructor __construct [line 49]
destructor __destruct [line 58]
Destructor, disconnect from database
Tags:
method cleanConnection [line 187]
method clearMatcherTables [line 294]
boolean clearMatcherTables(
)
|
|
Drops then creates all the UserAgentMatcher device tables
Tags:
method clearTable [line 460]
method connect [line 506]
method createCacheTable [line 384]
method createGenericDeviceTable [line 269]
boolean createGenericDeviceTable(
string
$tablename)
|
|
Drops and creates the given device table
Tags:
Overrides
TeraWurflDatabase::createGenericDeviceTable() (Creates a table capable of holding devices (WURFL ID, User Agent and Capabilities))
Parameters:
method createIndexTable [line 322]
method createMergeTable [line 307]
boolean createMergeTable(
array
$tables)
|
|
Drops and creates the MERGE table
Tags:
Parameters:
method createProcedures [line 467]
method createSettingsTable [line 340]
method createTempCacheTable [line 398]
void createTempCacheTable(
)
|
|
Tags:
method getActualDeviceAncestor [line 74]
void getActualDeviceAncestor(
$wurflID)
|
|
Tags:
Overrides
TeraWurflDatabase::getActualDeviceAncestor() (Returns the WURFL ID for the Actual Device Root in the given device's fall back tree. This can be null if it does not exist.)
Parameters:
method getCachedUserAgents [line 586]
method getDeviceFallBackTree [line 139]
method getDeviceFallBackTree_NS [line 168]
array getDeviceFallBackTree_NS(
$wurflID
$wurflID)
|
|
Returns an Array containing the complete capabilities array for each
device in the fallback tree. These arrays would need to be flattened in order to be used for any real puropse
Tags:
Parameters:
method getDeviceFromCache [line 358]
method getDeviceFromID [line 63]
method getDeviceFromUA [line 98]
method getDeviceFromUA_LD [line 126]
void getDeviceFromUA_LD(
$userAgent,
$tolerance,
&$matcher)
|
|
Tags:
Overrides
TeraWurflDatabase::getDeviceFromUA_LD() (Find the matching Device ID for a given User Agent using LD (Leveshtein Distance))
Parameters:
method getDeviceFromUA_RIS [line 111]
method getFullDeviceList [line 84]
void getFullDeviceList(
$tablename)
|
|
Tags:
Overrides
TeraWurflDatabase::getFullDeviceList() (Returns an associative array of all the data from the given table in the form [WURFL ID] => [User Agent])
Parameters:
method getMatcherTableList [line 554]
method getServerVersion [line 609]
method getSetting [line 533]
method getTableList [line 547]
method getTableStats [line 561]
method loadDevices [line 194]
method rebuildCacheTable [line 412]
method saveDeviceInCache [line 372]
method SQLPrep [line 542]
Tags:
Overrides
TeraWurflDatabase::SQLPrep() (Prepares raw text for use in queries (adding quotes and escaping characters if necessary))
Parameters:
method updateSetting [line 527]
method verifyConfig [line 593]