File path: dist/twist/Core/Models/UserAgent.model.php
Namespace: Twist\Core\Models
getDeviceType
— Get device type by 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 getDeviceType with the example vars
\Twist\Core\Models\UserAgent::getDeviceType($strDeviceKey);