Element index for package TeraWurfl
[ a ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ j ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ w ]
[ x ]
[ _ ]
_
- __construct
- in file UserAgentUtils.php, method UserAgentUtils::__construct()
- __construct
- in file WurflConstants.php, method WurflConstants::__construct()
- __construct
- in file WurflSupport.php, method WurflSupport::__construct()
- __construct
- in file UserAgentFactory.php, method UserAgentFactory::__construct()
- __construct
- in file TeraWurflWebservice.php, method TeraWurflWebservice::__construct()
- __construct
- in file TeraWurfl.php, method TeraWurfl::__construct()
- __construct
- in file TeraWurflLoader.php, method TeraWurflLoader::__construct()
- __construct
- in file phpMyProfiler.php, method phpMyProfiler::__construct()
- __destruct
- in file phpMyProfiler.php, method phpMyProfiler::__destruct()
- __handleExceptions
- in file TeraWurflWebservice.php, method TeraWurflWebservice::__handleExceptions()
top
a
- $ACCEPT_HEADER_TEXT_HTML
- in file WurflConstants.php, variable WurflConstants::$ACCEPT_HEADER_TEXT_HTML
- $ACCEPT_HEADER_VND_WAP_XHTML_XML
- in file WurflConstants.php, variable WurflConstants::$ACCEPT_HEADER_VND_WAP_XHTML_XML
- $ACCEPT_HEADER_XHTML_XML
- in file WurflConstants.php, variable WurflConstants::$ACCEPT_HEADER_XHTML_XML
- $access_log_filename
- in file TeraWurflWebservice.php, variable TeraWurflWebservice::$access_log_filename
Filename of access log
- $access_log_path
- in file TeraWurflWebservice.php, variable TeraWurflWebservice::$access_log_path
The directory where the access log is stored. Set to null to use the Tera-WURFL data/ directory
- $ALLOWED_CLIENT_IPS
- in file TeraWurflWebservice.php, variable TeraWurflWebservice::$ALLOWED_CLIENT_IPS
Allow clients to query the webservice only from the listed networks. Setting this variable to false disables the filter and allows connections from ANY client IP.
- absoluteDataDir
- in file TeraWurfl.php, method TeraWurfl::absoluteDataDir()
Get the absolute path to the data directory on the filesystem
- addCapabilities
- in file TeraWurfl.php, method TeraWurfl::addCapabilities()
Add new capabilities to the capabilities array
- addError
- in file TeraWurflWebservice.php, method TeraWurflWebservice::addError()
Add an error to the errors array that will be sent in the response
- addTopLevelSettings
- in file TeraWurfl.php, method TeraWurfl::addTopLevelSettings()
Adds the top level properties to the capabilities array, like id and user_agent
top
top
d
- $DATADIR
- in file TeraWurflConfig.php, variable TeraWurflConfig::$DATADIR
Data Directory
- $db
- in file TeraWurfl.php, variable TeraWurfl::$db
Database connector to be used, must extend TeraWurflDatabase. All database functions are performed in the database connector through its methods and properties.
- $DB_CONNECTOR
- in file TeraWurflConfig.php, variable TeraWurflConfig::$DB_CONNECTOR
Database Connector (MySQL4, MySQL5, MSSQL2005, MongoDB)
- $DB_HOST
- in file TeraWurflConfig.php, variable TeraWurflConfig::$DB_HOST
Database Hostname To specify the MySQL 5 TCP port or use a named pipe / socket, put it at the end of your hostname, seperated by a colon (ex: "localhost:3310" or "localhost:/var/run/mysqld/mysqld.sock").
- $DB_PASS
- in file TeraWurflConfig.php, variable TeraWurflConfig::$DB_PASS
Database Password
- $DB_SCHEMA
- in file TeraWurflConfig.php, variable TeraWurflConfig::$DB_SCHEMA
Database Name / Schema Name
- $DB_USER
- in file TeraWurflConfig.php, variable TeraWurflConfig::$DB_USER
Database User
- $DESKTOP_BROWSERS
- in file WurflConstants.php, variable WurflConstants::$DESKTOP_BROWSERS
- $devices
- in file TeraWurflLoader.php, variable TeraWurflLoader::$devices
- databaseTime
- in file TeraWurflLoader.php, method TeraWurflLoader::databaseTime()
Get performance information
top
top
f
- $file
- in file TeraWurflLoader.php, variable TeraWurflLoader::$file
- $flatCapabilities
- in file TeraWurflWebservice.php, variable TeraWurflWebservice::$flatCapabilities
- $format
- in file TeraWurflWebservice.php, variable TeraWurflWebservice::$format
- $FORMAT_JSON
- in file TeraWurflWebservice.php, variable TeraWurflWebservice::$FORMAT_JSON
- $FORMAT_XML
- in file TeraWurflWebservice.php, variable TeraWurflWebservice::$FORMAT_XML
- $foundInCache
- in file TeraWurfl.php, variable TeraWurfl::$foundInCache
Was the evaluated device found in the cache
- firstOpenParen
- in file UserAgentUtils.php, method UserAgentUtils::firstOpenParen()
The character position of the first open parenthisis. If there are no open parenthisis, returns string length
- firstSlash
- in file UserAgentUtils.php, method UserAgentUtils::firstSlash()
The character position of the first slash. If there are no slashes, returns string length
- firstSpace
- in file UserAgentUtils.php, method UserAgentUtils::firstSpace()
The character position of the first space. If there are no spaces, returns string length
- flattenCapabilities
- in file TeraWurflWebservice.php, method TeraWurflWebservice::flattenCapabilities()
Flatten the multi-tiered capabilities array into a list of capabilities.
- formatBitrate
- in file WurflSupport.php, method WurflSupport::formatBitrate()
- formatBytes
- in file WurflSupport.php, method WurflSupport::formatBytes()
- fullTableName
- in file TeraWurfl.php, method TeraWurfl::fullTableName()
top
g
- $GENERIC
- in file WurflConstants.php, variable WurflConstants::$GENERIC
- $GENERIC_WEB_BROWSER
- in file WurflConstants.php, variable WurflConstants::$GENERIC_WEB_BROWSER
- $GENERIC_XHTML
- in file WurflConstants.php, variable WurflConstants::$GENERIC_XHTML
- generateJSON
- in file TeraWurflWebservice.php, method TeraWurflWebservice::generateJSON()
Generate JSON response
- generateXML
- in file TeraWurflWebservice.php, method TeraWurflWebservice::generateXML()
Generate the XML response
- generateXMLErrors
- in file TeraWurflWebservice.php, method TeraWurflWebservice::generateXMLErrors()
Generate the errors section of the XML response
- getAcceptHeader
- in file WurflSupport.php, method WurflSupport::getAcceptHeader()
- getDeviceCapabilitiesFromAgent
- in file TeraWurfl.php, method TeraWurfl::getDeviceCapabilitiesFromAgent()
Detects the capabilities of a device from a given user agent and optionally, the HTTP Accept Headers
- getDeviceCapabilitiesFromRequest
- in file TeraWurfl.php, method TeraWurfl::getDeviceCapabilitiesFromRequest()
Detects the capabilities from a given request object ($_SERVER)
- getDeviceCapability
- in file TeraWurfl.php, method TeraWurfl::getDeviceCapability()
Returns the value of the requested capability for the detected device
- getDeviceIDFromUALoose
- in file TeraWurfl.php, method TeraWurfl::getDeviceIDFromUALoose()
Returns the matching WURFL ID for a given User Agent
- getFullCapabilities
- in file TeraWurfl.php, method TeraWurfl::getFullCapabilities()
Builds the full capabilities array from the WURFL ID
- getParserName
- in file TeraWurflLoader.php, method TeraWurflLoader::getParserName()
- getResponse
- in file TeraWurflWebservice.php, method TeraWurflWebservice::getResponse()
Get the response that would normally be sent to the client.
- getSetting
- in file TeraWurfl.php, method TeraWurfl::getSetting()
Returns the value of the given setting name
- getUAProfile
- in file WurflSupport.php, method WurflSupport::getUAProfile()
- getUserAgent
- in file WurflSupport.php, method WurflSupport::getUserAgent()
top
h
- $httpAccept
- in file TeraWurfl.php, variable TeraWurfl::$httpAccept
The HTTP Accept header that is being evaluated
top
top
top
l
- $last_updated
- in file TeraWurflLoader.php, variable TeraWurflLoader::$last_updated
- $LOG_FILE
- in file TeraWurflConfig.php, variable TeraWurflConfig::$LOG_FILE
Filename of Log File (found in DATADIR; default: wurfl.log)
- $LOG_LEVEL
- in file TeraWurflConfig.php, variable TeraWurflConfig::$LOG_LEVEL
Log Level as defined by PHP Constants LOG_ERR, LOG_WARNING and LOG_NOTICE.
- $lookup_end
- in file TeraWurfl.php, variable TeraWurfl::$lookup_end
Lookup end time
- $lookup_start
- in file TeraWurfl.php, variable TeraWurfl::$lookup_start
Lookup start time
- lastAttempts
- in file UserAgentUtils.php, method UserAgentUtils::lastAttempts()
Checks for traces of mobile device signatures and returns an appropriate generic WURFL Device ID
- LD
- in file UserAgentUtils.php, method UserAgentUtils::LD()
- ldMatch
- in file UserAgentUtils.php, method UserAgentUtils::ldMatch()
Find the matching Device ID for a given User Agent using LD (Leveshtein Distance)
- load
- in file TeraWurflLoader.php, method TeraWurflLoader::load()
Loads the WURFL and patch files into the database
- loadIntoDB
- in file TeraWurflLoader.php, method TeraWurflLoader::loadIntoDB()
Loads the WURFL devices into the database.
- loadPatches
- in file TeraWurflLoader.php, method TeraWurflLoader::loadPatches()
Loads the patch files from TeraWurflConfig::PATCH_FILE
- log
- in file phpMyProfiler.php, method phpMyProfiler::log()
- logAccess
- in file TeraWurflWebservice.php, method TeraWurflWebservice::logAccess()
Log this access with the IP of the requestor and the user agent
- logError
- in file TeraWurflWebservice.php, method TeraWurflWebservice::logError()
Log an error in the TeraWurflWebservice log file
top
m
- $mainDevices
- in file TeraWurflLoader.php, variable TeraWurflLoader::$mainDevices
- $matchData
- in file TeraWurfl.php, variable TeraWurfl::$matchData
The Tera-WURFL specific data that is added to the capabilities array
- $matchDataKey
- in file TeraWurfl.php, variable TeraWurfl::$matchDataKey
The array key that is returned as a WURFL capability group in the capabilities
- $matcherHistory
- in file TeraWurfl.php, variable TeraWurfl::$matcherHistory
Array of UserAgentMatchers and match attempt types that the API used to find a matching device
- $matchers
- in file UserAgentFactory.php, variable UserAgentFactory::$matchers
- $maxDeviceDepth
- in file TeraWurfl.php, variable TeraWurfl::$maxDeviceDepth
- $MEMORY_LIMIT
- in file TeraWurflConfig.php, variable TeraWurflConfig::$MEMORY_LIMIT
PHP Memory Limit. See OVERRIDE_MEMORY_LIMIT for more info
- $MOBILE_BROWSERS
- in file WurflConstants.php, variable WurflConstants::$MOBILE_BROWSERS
These mobile browser strings will be compared case-insensitively, so keep them all lowercase for faster searching
- mergeCapabilities
- in file TeraWurfl.php, method TeraWurfl::mergeCapabilities()
Merges given $addedDevice array onto $baseDevice array
top
top
top
p
- $parser
- in file TeraWurflLoader.php, variable TeraWurflLoader::$parser
- $patchAddedDevices
- in file TeraWurflLoader.php, variable TeraWurflLoader::$patchAddedDevices
- $patchMergedDevices
- in file TeraWurflLoader.php, variable TeraWurflLoader::$patchMergedDevices
- $PATCH_ENABLE
- in file TeraWurflConfig.php, variable TeraWurflConfig::$PATCH_ENABLE
Enable Patches (must reload WURFL after changing)
- $PATCH_FILE
- in file TeraWurflConfig.php, variable TeraWurflConfig::$PATCH_FILE
Filename of patch file. If you want to use more than one, seperate them with semicolons. They are loaded in order.
- $PRESERVE_CACHE
- in file TeraWurflLoader.php, variable TeraWurflLoader::$PRESERVE_CACHE
- phpMyProfiler.php
- procedural page phpMyProfiler.php
- parseTime
- in file TeraWurflLoader.php, method TeraWurflLoader::parseTime()
Get performance information
- patchTime
- in file TeraWurflLoader.php, method TeraWurflLoader::patchTime()
Get performance information
- phpMyProfiler
- in file phpMyProfiler.php, class phpMyProfiler
Class to grab query profiling data from MySQL and log it to a file for later examination. Modified by Steve Kamerman for better operation in evaluating Tera-WURFL performance.
top
top
s
- $search_results
- in file TeraWurflWebservice.php, variable TeraWurflWebservice::$search_results
- $SETTING_LOADED_DATE
- in file TeraWurfl.php, variable TeraWurfl::$SETTING_LOADED_DATE
- $SETTING_PATCHES_LOADED
- in file TeraWurfl.php, variable TeraWurfl::$SETTING_PATCHES_LOADED
- $SETTING_WURFL_DATE
- in file TeraWurfl.php, variable TeraWurfl::$SETTING_WURFL_DATE
- $SETTING_WURFL_VERSION
- in file TeraWurfl.php, variable TeraWurfl::$SETTING_WURFL_VERSION
- $SIMPLE_DESKTOP_ENGINE_ENABLE
- in file TeraWurflConfig.php, variable TeraWurflConfig::$SIMPLE_DESKTOP_ENGINE_ENABLE
Enable the SimpleDesktop Matching Engine. This feature bypasses the advanced detection methods that are normally used while detecting desktop web browsers; instead, most desktop browsers are detected using simple keywords and expressions. When enabled, this setting will increase performance dramatically (200% in our tests) but could result in some false positives. This will also reduce the size of the cache table dramatically because all the devices detected by the SimpleDesktop Engine will be cached in one cache entry.
- $SIMPLE_DESKTOP_UA
- in file WurflConstants.php, variable WurflConstants::$SIMPLE_DESKTOP_UA
- search
- in file TeraWurflWebservice.php, method TeraWurflWebservice::search()
Search through all the capabilities and place the requested ones in search_results to be sent in the response.
- secondSlash
- in file UserAgentUtils.php, method UserAgentUtils::secondSlash()
The character position of the second slash. If there is no second slash, returns string length
- sendHTTPHeaders
- in file TeraWurflWebservice.php, method TeraWurflWebservice::sendHTTPHeaders()
Send the HTTP Headers for the return data
- sendResponse
- in file TeraWurflWebservice.php, method TeraWurflWebservice::sendResponse()
Send the complete response to the client, including the HTTP Headers and the response.
- setLink
- in file phpMyProfiler.php, method phpMyProfiler::setLink()
- setMatcherHistory
- in file TeraWurfl.php, method TeraWurfl::setMatcherHistory()
Combines the MatcherHistory array into a string and stores it in the matchData
- showBool
- in file WurflSupport.php, method WurflSupport::showBool()
- showLogLevel
- in file WurflSupport.php, method WurflSupport::showLogLevel()
- sort
- in file TeraWurflLoader.php, method TeraWurflLoader::sort()
Sorts the validated data from $this->devices into their respective UserAgentMatcher tables ($this->tables)
- sortTime
- in file TeraWurflLoader.php, method TeraWurflLoader::sortTime()
Get performance information
top
t
- $table
- in file TeraWurflLoader.php, variable TeraWurflLoader::$table
- $tables
- in file TeraWurflLoader.php, variable TeraWurflLoader::$tables
- $TABLE_PREFIX
- in file TeraWurflConfig.php, variable TeraWurflConfig::$TABLE_PREFIX
Prefix used for all database tables
- $timecache
- in file TeraWurflLoader.php, variable TeraWurflLoader::$timecache
- $timedatabase
- in file TeraWurflLoader.php, variable TeraWurflLoader::$timedatabase
- $timeend
- in file TeraWurflLoader.php, variable TeraWurflLoader::$timeend
- $timepatch
- in file TeraWurflLoader.php, variable TeraWurflLoader::$timepatch
- $timesort
- in file TeraWurflLoader.php, variable TeraWurflLoader::$timesort
- $timestart
- in file TeraWurflLoader.php, variable TeraWurflLoader::$timestart
- $timevalidate
- in file TeraWurflLoader.php, variable TeraWurflLoader::$timevalidate
- TeraWurfl
- in file TeraWurfl.php, class TeraWurfl
The main Tera-WURFL Class, provides all end-user methods and properties for interacting with Tera-WURFL
- TeraWurfl.php
- procedural page TeraWurfl.php
- TeraWurflConfig
- in file TeraWurflConfig.php, class TeraWurflConfig
This static class provides the global configuration settings for Tera-WURFL.
- TeraWurflConfig.php
- procedural page TeraWurflConfig.php
- TeraWurflLoader
- in file TeraWurflLoader.php, class TeraWurflLoader
Loads the WURFL file from a local file or remote URL into the Tera-WURFL database.
- TeraWurflLoader.php
- procedural page TeraWurflLoader.php
- TeraWurflWebservice
- in file TeraWurflWebservice.php, class TeraWurflWebservice
The server-side Tera-WURFL webservice provider. Normally used with webservice.php
- TeraWurflWebservice.php
- procedural page TeraWurflWebservice.php
- test_usage.php
- procedural page test_usage.php
- toLog
- in file TeraWurfl.php, method TeraWurfl::toLog()
Log an error in the Tera-WURFL log file
- totalLoadTime
- in file TeraWurflLoader.php, method TeraWurflLoader::totalLoadTime()
Get performance information
top
u
- $userAgent
- in file TeraWurflWebservice.php, variable TeraWurflWebservice::$userAgent
- $userAgent
- in file TeraWurfl.php, variable TeraWurfl::$userAgent
The user agent that is being evaluated
- $userAgentHeaders
- in file WurflSupport.php, variable WurflSupport::$userAgentHeaders
The HTTP Headers that Tera-WURFL will look through to find the best User Agent, if one is not specified
- $userAgentMatcher
- in file TeraWurfl.php, variable TeraWurfl::$userAgentMatcher
The UserAgentMatcher that is currently in use
- UserAgentFactory
- in file UserAgentFactory.php, class UserAgentFactory
Evaluates the user agent using keywords, regular expressions, UserAgentMatchers and HTTP Headers
- UserAgentFactory.php
- procedural page UserAgentFactory.php
- userAgentType
- in file UserAgentFactory.php, method UserAgentFactory::userAgentType()
- UserAgentUtils
- in file UserAgentUtils.php, class UserAgentUtils
Provides static functions for working with User Agents
- UserAgentUtils.php
- procedural page UserAgentUtils.php
top
top
w
- $WML
- in file WurflConstants.php, variable WurflConstants::$WML
- $WORST_MATCH
- in file UserAgentUtils.php, variable UserAgentUtils::$WORST_MATCH
- $wurfl
- in file TeraWurflLoader.php, variable TeraWurflLoader::$wurfl
- $wurflObj
- in file TeraWurflWebservice.php, variable TeraWurflWebservice::$wurflObj
- $WURFL_CVS_URL
- in file TeraWurflConfig.php, variable TeraWurflConfig::$WURFL_CVS_URL
URL of CVS WURFL File
- $WURFL_DL_URL
- in file TeraWurflConfig.php, variable TeraWurflConfig::$WURFL_DL_URL
URL of WURFL File. If you have multiple installations of Tera-WURFL, you can set this to a location on your network.
- $WURFL_FILE
- in file TeraWurflConfig.php, variable TeraWurflConfig::$WURFL_FILE
Filename of main WURFL file (found in DATADIR; default: wurfl.xml)
- $WURFL_LOCAL
- in file TeraWurflLoader.php, variable TeraWurflLoader::$WURFL_LOCAL
- $WURFL_PATCH
- in file TeraWurflLoader.php, variable TeraWurflLoader::$WURFL_PATCH
- $WURFL_REMOTE
- in file TeraWurflLoader.php, variable TeraWurflLoader::$WURFL_REMOTE
- $WURFL_REMOTE_CVS
- in file TeraWurflLoader.php, variable TeraWurflLoader::$WURFL_REMOTE_CVS
- webservice.php
- procedural page webservice.php
- WurflConstants
- in file WurflConstants.php, class WurflConstants
Provides global access to Tera-WURFL Constants
- WurflConstants.php
- procedural page WurflConstants.php
- WurflSupport
- in file WurflSupport.php, class WurflSupport
Provides static supporting functions for Tera-WURFL
- WurflSupport.php
- procedural page WurflSupport.php
top
top
|
|