/** * Gets a code for a browsing device based on the input useragent string. * * @param string $userAgent: The useragent string, t3lib_div::getIndpEnv('HTTP_USER_AGENT') * @return string Code for the specific device type */ protected function getDeviceType($userAgent) { return t3lib_utility_Client::getDeviceType($userAgent); }