\r\n

51Degrees Device Detection On-Premise PHP  4.4

Device detection services for 51Degrees Pipeline
  • fiftyone
  • pipeline
  • devicedetection
  • examples
  • onpremise
  • classes
  • ExampleUtils

fiftyone\pipeline\devicedetection\examples\onpremise\classes\ExampleUtils Class Reference

Detailed Description

Examples
onpremise/gettingStartedConsole.php, onpremise/gettingStartedWeb.php, onpremise/matchMetrics.php, and onpremise/metadataConsole.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 fiftyone\pipeline\devicedetection\examples\onpremise\classes\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.

Parameters
mixed
$engine -
mixed
$logger -
On This Page