TeraWurflDatabase |
[ class tree: TeraWurflDatabase ] [ index: TeraWurflDatabase ] [ all elements ] |
Packages: TeraWurfl TeraWurflAdmin TeraWurflDatabase TeraWurflRemoteClient TeraWurflUserAgentMatchers TeraWurflUtils TeraWurflXMLParser Files:
TeraWurflDatabase.php
TeraWurflDatabase_MongoDB.php TeraWurflDatabase_MSSQL2005.php TeraWurflDatabase_MySQL4.php TeraWurflDatabase_MySQL5.php TeraWurflDatabase_MySQL5_NestedSet.php TeraWurflDatabase_MySQL5_Profiling.php TeraWurflMySQLNestedSet.php Classes: |
[ Top ] static $MERGE =[line 77] Tags:
[ Top ] static $PREALLOC_SIZE = 31457280[line 87] Tags:
[ Top ] $connected = false[line 62] Tags:
[ Top ] $dbcon =[line 72] Tags:
[ Top ] $db_implements_fallback = true[line 46] Tags:
[ Top ] $db_implements_ld = false[line 52] Tags:
[ Top ] $db_implements_ris = true[line 41] Tags:
[ Top ] $errors =[line 36] Tags:
[ Top ] $mergecoll =[line 82] Tags:
[ Top ] $mongo =[line 67] Tags:
[ Top ] $numQueries = 0[line 57] Tags:
[ Top ] Class Methodsconstructor __construct [line 89]
Tags:
Overrides TeraWurflDatabase::__construct() (parent method not documented) [ Top ]
method clearTable [line 638]
Tags:
Overrides TeraWurflDatabase::clearTable() (Truncate or drop+create the given table) Parameters:
[ Top ]
method collectionExists [line 506]method connect [line 444]
Establishes connection to database (does not check for DB sanity) Tags:
Overrides TeraWurflDatabase::connect() (Establishes a database connection and stores connection in $this->dbcon) [ Top ]
method createCacheTable [line 270]
Drops, creates and indexes the cache table Tags:
Overrides TeraWurflDatabase::createCacheTable() (Creates the cache table) [ Top ]
method createGenericDeviceTable [line 636]
Tags:
Overrides TeraWurflDatabase::createGenericDeviceTable() (Creates a table capable of holding devices (WURFL ID, User Agent and Capabilities)) Parameters:
[ Top ]
method createIndexTable [line 639]
Tags:
Overrides TeraWurflDatabase::createIndexTable() (Creates the index table) [ Top ]
method createProcedures [line 385]
Runs any stored procs needed to set up db Tags:
Overrides TeraWurflDatabase::createProcedures() (Creates supporting stored procedures) [ Top ]
method createSettingsTable [line 256]
Tags:
Overrides TeraWurflDatabase::createSettingsTable() (Creates the settings table) [ Top ]
method getActualDeviceAncestor [line 637]
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:
[ Top ]
method getCachedUserAgents [line 536]
Tags:
Overrides TeraWurflDatabase::getCachedUserAgents() (Returns and array of the cached User Agents) [ Top ]
method getDeviceFallBackTree [line 176]
Tags:
Overrides TeraWurflDatabase::getDeviceFallBackTree() (Find the matching Device ID for a given User Agent using LD (Leveshtein Distance)) Parameters:
[ Top ]
method getDeviceFromCache [line 282]
Tags:
Overrides TeraWurflDatabase::getDeviceFromCache() (Return capabilities array for the given User Agent, or null if not found) Parameters:
[ Top ]
method getDeviceFromID [line 102]
Tags:
Overrides TeraWurflDatabase::getDeviceFromID() (Returns the capabilities array from a given WURFL Device ID) Parameters:
[ Top ]
method getDeviceFromUA [line 141]
Exact match by user agent string Tags:
Overrides TeraWurflDatabase::getDeviceFromUA() (Returns the WURFL ID from a raw User Agent if an exact match is found) Parameters:
[ Top ]
method getDeviceFromUA_LD [line 630]
Tags:
Overrides TeraWurflDatabase::getDeviceFromUA_LD() (Find the matching Device ID for a given User Agent using LD (Leveshtein Distance)) Parameters:
[ Top ]
method getDeviceFromUA_RIS [line 164]
RIS == Reduction in String (reduce string one char at a time) Tags:
Overrides TeraWurflDatabase::getDeviceFromUA_RIS() (Find the matching Device ID for a given User Agent using RIS (Reduction in String)) Parameters:
[ Top ]
method getFullDeviceList [line 123]
Tags:
Overrides TeraWurflDatabase::getFullDeviceList() (Returns an associative array of all the data from the given table in the form [WURFL ID] => [User Agent]) Parameters:
[ Top ]
method getMatcherNameFromTable [line 187]method getMatcherTableList [line 635]
Tags:
Overrides TeraWurflDatabase::getMatcherTableList() (Returns an array of the User Agent Matcher tables in the database) [ Top ]
method getServerVersion [line 376]
Tags:
Overrides TeraWurflDatabase::getServerVersion() (Returns the version string of the database server) [ Top ]
method getSetting [line 472]
Tags:
Overrides TeraWurflDatabase::getSetting() (Get setting from settings table by a given key) Parameters:
[ Top ]
method getTableList [line 495]
Tags:
Overrides TeraWurflDatabase::getTableList() (Returns an array of all the tables in the database) [ Top ]
method getTableStats [line 515]
Tags:
Overrides TeraWurflDatabase::getTableStats() (Returns an associative array of statistics from given table) Parameters:
[ Top ]
method loadDevices [line 195]
Tags:
Overrides TeraWurflDatabase::loadDevices() (Loads the pre-processed WURFL tables into the database) Parameters:
[ Top ]
method rebuildCacheTable [line 332]
Tags:
Overrides TeraWurflDatabase::rebuildCacheTable() (Rebuilds the cache table by redetecting the cached devices against the loaded WURFL) [ Top ]
method saveDeviceInCache [line 309]
Tags:
Overrides TeraWurflDatabase::saveDeviceInCache() (Save the given User Agent and Device capabilities array to the database) Parameters:
[ Top ]
method SQLPrep [line 487]
Prepare raw text for use in queries (adding quotes if necessary) Tags:
Overrides TeraWurflDatabase::SQLPrep() (Prepares raw text for use in queries (adding quotes and escaping characters if necessary)) Parameters:
[ Top ]
method updateSetting [line 466]
Tags:
Overrides TeraWurflDatabase::updateSetting() (Adds/updates a key=>value pair in the settings table) Parameters:
[ Top ]
method _createCollection [line 596]
Tags:
Parameters:
[ Top ]
method _dropCollectionIfExists [line 575]
Tags:
Parameters:
[ Top ]
method _recreateCollection [line 558]
Tags:
Parameters:
[ Top ]
method _renameCollection [line 614]Documentation generated on Sun, 19 Sep 2010 00:15:58 +0000 by phpDocumentor 1.4.3 |