File path: dist/twist/Core/Models/UserAgent.model.php
Namespace: Twist\Core\Models
detect
— Detect the Device Type, OS Name, Name/Version and the Browser Name based on a user agent string that is either passed in or detected from the server headers
Name | Description |
---|---|
[$strUserAgent = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strUserAgent = null;
//Call the function detect with the example vars
\Twist\Core\Models\UserAgent::detect($strUserAgent);