phpUserTrack
[ class tree: phpUserTrack ] [ index: phpUserTrack ] [ all elements ]

Class: detectUserAgent

Source Location: /lib/libdetectuseragent.php

Class Overview


User Agent detection class


Author(s):

Variables

Methods



Class Details

[line 8]
User Agent detection class



Tags:

author:  Christopher Troup <mini@chatetheory.com>


[ Top ]


Class Variables

$browscapIni =

[line 19]



Tags:

todo:  What does this do?

Type:   mixed


[ Top ]

$browscapPath =

[line 24]



Tags:

todo:  What does this do?

Type:   mixed


[ Top ]

$dataArray =

[line 30]

All the information about the browser that could be detected


Type:   array


[ Top ]

$useragent =

[line 14]

User Agent identification string


Type:   string


[ Top ]



Class Methods


constructor detectUserAgent [line 36]

detectUserAgent detectUserAgent( [string $useragent = null])

Class constructor



Parameters:

string   $useragent   User Agent indentification string

[ Top ]

method getBrowserArray [line 55]

array getBrowserArray( )

Return the detected information



[ Top ]

method get_browser_local [line 73]

array get_browser_local( string $db, [boolean $cache = false])

Drop-in replacement for get_browser()



Tags:

return:  detected information


Parameters:

string   $db  
boolean   $cache  

[ Top ]

method get_browser_php [line 63]

array get_browser_php( )

Attempt to use PHPs built in get_browser() function



Tags:

return:  detected information


[ Top ]


Documentation generated on Tue, 06 Nov 2007 09:22:01 -0800 by phpDocumentor 1.4.0a2