constructor __construct [line 55]
destructor __destruct [line 64]
Destructor, disconnect from database
Tags:
method clearMatcherTables [line 286]
boolean clearMatcherTables(
)
|
|
Drops then creates all the UserAgentMatcher device tables
Tags:
method clearTable [line 465]
method connect [line 510]
method createCacheTable [line 385]
method createGenericDeviceTable [line 261]
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 316]
method createMergeTable [line 299]
boolean createMergeTable(
array
$tables)
|
|
Drops and creates the MERGE table
Tags:
Parameters:
method createProcedures [line 472]
method createSettingsTable [line 334]
method createTempCacheTable [line 399]
void createTempCacheTable(
)
|
|
Tags:
method getActualDeviceAncestor [line 82]
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 590]
method getDeviceFallBackTree [line 132]
void getDeviceFallBackTree(
$wurflID)
|
|
Tags:
Overrides
TeraWurflDatabase::getDeviceFallBackTree() (Returns the Fallback tree directly from the database. If this is implemented, you must set TeraWurflDatabase::$db_implements_fallback = true for Tera-WURFL to use it.)
Parameters:
method getDeviceFallBackTree_NS [line 166]
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 354]
method getDeviceFromID [line 69]
void getDeviceFromID(
$wurflID)
|
|
Tags:
Overrides
TeraWurflDatabase::getDeviceFromID() (Returns the capabilities array from a given WURFL Device ID. This is NOT the full device capabilities, just the capabilities that are defined on this device.)
Parameters:
method getDeviceFromUA [line 104]
method getDeviceFromUA_LD [line 129]
void getDeviceFromUA_LD(
$userAgent,
$tolerance, UserAgentMatcher
&$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 116]
void getDeviceFromUA_RIS(
$userAgent,
$tolerance, UserAgentMatcher
&$matcher)
|
|
Tags:
Overrides
TeraWurflDatabase::getDeviceFromUA_RIS() (Find the matching Device ID for a given User Agent using RIS (Reduction in String))
Parameters:
method getFullDeviceList [line 92]
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 558]
method getServerVersion [line 613]
method getSetting [line 534]
method getTableList [line 551]
method getTableStats [line 565]
method loadDevices [line 186]
method rebuildCacheTable [line 413]
method saveDeviceInCache [line 369]
method SQLPrep [line 546]
Tags:
Overrides
TeraWurflDatabase::SQLPrep() (Prepares raw text for use in queries (adding quotes and escaping characters if necessary))
Parameters:
method updateSetting [line 522]
method verifyConfig [line 597]