[ PHPXref.com ] [ Generated: Sun Jul 20 18:53:27 2008 ] [ myPHPNuke 1.8.8_8 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/classes/ -> phpSniff.core.php (summary)

(no description)

File Size: 567 lines (21 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

phpSniff_core:: (24 methods):
  init()
  property()
  get_property()
  is()
  browser_is()
  language_is()
  has_feature()
  has_quirk()
  _perform_browser_search()
  _perform_language_search()
  _get_languages()
  _get_os_info()
  _get_browser_info()
  _get_ip()
  _build_regex()
  _get_short_name()
  _test_cookies()
  _get_javascript()
  _get_features()
  _get_quirks()
  _get_gecko()
  _set_browser()
  _set_feature()
  _set_quirk()


Class: phpSniff_core  - X-Ref

init()   X-Ref
init
this method starts the madness


property($p=null)   X-Ref
property

param: $p property to return . optional (null returns entire array)
return: array/string entire array or value of property

get_property($p)   X-Ref
get_property
alias for property


is($s)   X-Ref
is

param: $s string search phrase format = l:lang;b:browser
return: bool true on success

browser_is($s)   X-Ref
browser_is

param: $s string search phrase for browser
return: bool true on success

language_is($s)   X-Ref
language_is

param: $s string search phrase for language
return: bool true on success

has_feature($s)   X-Ref
has_feature

param: $s string feature we're checking on
return: bool true on success

has_quirk($s)   X-Ref
has_quirk

param: $s string quirk we're looking for
return: bool true on success

_perform_browser_search($data)   X-Ref
_perform_browser_search

param: $data string what we're searching for
return: bool true on success

_perform_language_search($data)   X-Ref
No description

_get_languages()   X-Ref
No description

_get_os_info()   X-Ref
No description

_get_browser_info()   X-Ref
No description

_get_ip()   X-Ref
No description

_build_regex()   X-Ref
No description

_get_short_name($long_name)   X-Ref
No description

_test_cookies()   X-Ref
No description

_get_javascript()   X-Ref
No description

_get_features()   X-Ref
No description

_get_quirks()   X-Ref
No description

_get_gecko()   X-Ref
No description

_set_browser($k,$v)   X-Ref
No description

_set_feature($k)   X-Ref
No description

_set_quirk($k)   X-Ref
No description



[ Powered by PHPXref - Served by Debian GNU/Linux ]