\r\n

51Degrees Device Detection PHP  4.3

Device detection services for 51Degrees Pipeline

fiftyone\pipeline\core\Messages Class Reference

Detailed Description

Constants used for messages returned to the user.

These can be error messages, or otherwise. Messages which require formatting will contain format characters e.g. s.

Data Fields

const  NO_ELEMENT_DATA
Error message thrown when there is no matching element in the FlowData. More...
const  NO_ELEMENT_DATA_NULL
const  PASS_KEY_VALUE = "Must pass key and value"
const  FLOW_DATA_PROCESSED = "FlowData already processed"
const  PROPERTY_NOT_SET_HEADER = "Property Name '%s' does not start with 'SetHeader'."
Property does not start with SetHeader. More...
const  WRONG_PROPERTY_FORMAT
Property Name is not in the valid format. More...
const  ELEMENT_NOT_FOUND
Element not found in flowData. More...
const  PROPERTY_NOT_FOUND
Property not found in flowData. More...

Field Documentation

◆ ELEMENT_NOT_FOUND

const fiftyone\pipeline\core\Messages::ELEMENT_NOT_FOUND
Initial value:
=
"Element '%s' is not present in the FlowData. "

Element not found in flowData.

This takes the element datakey as format argument.

◆ NO_ELEMENT_DATA

const fiftyone\pipeline\core\Messages::NO_ELEMENT_DATA
Initial value:
= "There is no element data for '%s' against "
. "this flow data. Available element data keys are: '%s'"

Error message thrown when there is no matching element in the FlowData.

◆ NO_ELEMENT_DATA_NULL

const fiftyone\pipeline\core\Messages::NO_ELEMENT_DATA_NULL
Initial value:
= "There is no element data for '%s' against "
. "this flow data.'"

◆ PROPERTY_NOT_FOUND

const fiftyone\pipeline\core\Messages::PROPERTY_NOT_FOUND
Initial value:
=
"Property '%s' is not present in the FlowData against '%s' ElementData. "

Property not found in flowData.

This takes the element datakey and property names as format arguments.

◆ PROPERTY_NOT_SET_HEADER

const fiftyone\pipeline\core\Messages::PROPERTY_NOT_SET_HEADER = "Property Name '%s' does not start with 'SetHeader'."

Property does not start with SetHeader.

This takes the name of a property as a format argument.

◆ WRONG_PROPERTY_FORMAT

const fiftyone\pipeline\core\Messages::WRONG_PROPERTY_FORMAT
Initial value:
=
"Property Name '%s' is not in the expected format i.e. SetHeader[Component][HeaderName]. "

Property Name is not in the valid format.

This takes the property name as format argument.

On This Page