File path: dist/twist/Core/Models/UserAgent.model.php
Namespace: Twist\Core\Models
getOS
— Get OS details from a device key, these are the keys found in the devices.json file
Name | Description |
---|---|
$strDeviceKey | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strDeviceKey = 'foo';
//Call the function getOS with the example vars
\Twist\Core\Models\UserAgent::getOS($strDeviceKey);