PHP Class BrowscapPHP\Helper\Support

Afficher le fichier Open project: browscap/browscap-php Class Usage Examples

Méthodes publiques

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

Private Methods

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

Method Details

__construct() public méthode

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

getUserAgent() public méthode

detect the useragent
public getUserAgent ( ) : string
Résultat string