Documentation

Headers extends AbstractProvider
in package

Table of Contents

$data  : array<string|int, mixed>
All possible HTTP headers that represent the user agent string.
getAll()  : array<string|int, mixed>
Return the data set.

Properties

$data

All possible HTTP headers that represent the user agent string.

protected array<string|int, mixed> $data = array( // The default User-Agent string. 'HTTP_USER_AGENT', // Header can occur on devices using Opera Mini. 'HTTP_X_OPERAMINI_PHONE_UA', // Vodafone specific header: http://www.seoprinciple.com/mobile-web-community-still-angry-at-vodafone/24/ 'HTTP_X_DEVICE_USER_AGENT', 'HTTP_X_ORIGINAL_USER_AGENT', 'HTTP_X_SKYFIRE_PHONE', 'HTTP_X_BOLT_PHONE_UA', 'HTTP_DEVICE_STOCK_UA', 'HTTP_X_UCBROWSER_DEVICE_UA', // Sometimes, bots (especially Google) use a genuine user agent, but fill this header in with their email address 'HTTP_FROM', 'HTTP_X_SCANNER', )

Methods

getAll()

Return the data set.

public getAll() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results