File path: dist/twist/Core/Utilities/Device.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
Type: Utility
Device
— Detect device related information from a user agent string, also can return logos and icons where applicable.
<?php
//Set the variables for the example
$strUserAgent = null;
//Call the function getOSVersion with the example vars
Twist::Device() -> getOSVersion($strUserAgent);
Method | Access | Returns |
---|---|---|
get | public | void |
getOS | public | void |
getOSVersion | public | void |
getDevice | public | void |
getBrowser | public | void |