PHP Class BrowscapPHP\Helper\Support

Datei anzeigen Open project: browscap/browscap-php Class Usage Examples

Public Methods

Method Description
__construct ( array | null $source = null )
getUserAgent ( ) : string detect the useragent

Private Methods

Method Description
cleanParam ( string $param ) : string clean Parameters taken from GET or POST Variables

Method Details

__construct() public method

public __construct ( array | null $source = null )
$source array | null

getUserAgent() public method

detect the useragent
public getUserAgent ( ) : string
return string