TwistPHP Documentation

get

File path: dist/twist/Core/Utilities/Device.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

getGet the Type, OS Name, Name/Version and the Browser Name of a device by it's User Agent string.

Parameters

Name Type Description
[$strUserAgent = null]stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strUserAgent null;

//Call the function get with the example vars
Twist::Device() -> get($strUserAgent);