\r\n

51Degrees Device Detection On-Premise PHP  4.4

Device detection services for 51Degrees Pipeline

ExampleUtils Class Reference

Detailed Description

Examples
onpremise/gettingStartedWeb.php.

Static Public Member Functions

static  output ($message)
static  getDataFileDate ($engine)
static  dataFileIsOld ($engine)
static  getDataFileTier ($engine)
static  checkDataFile ($engine, $logger)
Get the 'engine' element within the pipeline that performs device detection. More...
static  getHumanReadable ($device, $name)
static  containsAcceptCh ()

Data Fields

const  DATA_FILE_AGE_WARNING = 30

Member Function Documentation

◆ checkDataFile()

static ExampleUtils::checkDataFile (   $engine,
  $logger  
)
static

Get the 'engine' element within the pipeline that performs device detection.

We can use this to get details about the data file as well as meta-data describing things such as the available properties.

Examples
onpremise/gettingStartedConsole.php, and onpremise/metadataConsole.php.