| core_net

# Procedural File: Bs_Browscap.class.php Source Location: /core/net/http/Bs_Browscap.class.php ## Classes: ## Page Details: #### Includes: include_once($APP['path']['core'].'net/Bs_Url.class.php') [line 6] require_once($_SERVER['DOCUMENT_ROOT'].$GLOBALS['APP']['path']['diffFromDocRootToGlobalConf'].'global.conf.php') [line 5] ### BS_BROWSCAP_VERSION [line 2]
`BS_BROWSCAP_VERSION = '4.5.$Revision: 1.5 $'`
[ Top ] ### is [line 1407]
`bool is( string $s)`
tells if the client browser IS or HAS what you ask for. a regexp is being fired for it each time. example I: you wanna know if the browser is opera version 5 or higher. $client->is('b:OP5Up'); should also work with the 'browser language' somehow. dunno. not supported yet. #### Tags:
return: | TRUE on success, FALSE on failure.
access: | public
#### Parameters
string | $s | search phrase, format 'l:lang;b:browser'
[ Top ] ### _getBrowserInfo [line 1338]
`array _getBrowserInfo( mixed $userAgent, string &$userAgent)`
reads out browser information from the userAgent string. returns a vector with 7 elements: [0] = browser ('ie', 'ns' etc) [1] = browserFullVersion ('6.0b') [2] = browserMajorVersion ('6') [3] = browserMinorVersion ('0') [4] = browserMinorVerlet ('b') [5] = isGecko [6] = browserBuild #### Tags:
return: | (vector with 5 elements)
author: | Roger Raymond, modifications by andrej arn
#### Parameters
string | &$userAgent |
[ Top ] ### _getLanguages [line 1470]
`void _getLanguages( )`
[ Top ] ### _get_ip [line 1482]
`void _get_ip( )`
[ Top ] ### _performLanguageSearch [line 1464]
`void _performLanguageSearch( mixed $data)`
[ Top ] Documentation generated on Mon, 29 Dec 2003 21:08:06 +0100 by phpDocumentor 1.2.3