SproutCMS

This is the code documentation for the SproutCMS project

function getAgentInfo()

Return info about a given user-agent

Usage

array $UserAgent->getAgentInfo ( mixed $ua );

Arguments

  1. $ua

Return value

  • array
    Keys will only exist if values determined. Possible keys are:
            'os_name', 'os_version', 'os_title',
            'browser_name', 'browser_version',
            'device_category'