\r\n

51Degrees Device Detection PHP  4.3

Device detection services for 51Degrees Pipeline

fiftyone\pipeline\core\JavascriptBuilderElement Class Reference

Detailed Description

The JavaScriptBuilder aggregates JavaScript properties from FlowElements in the Pipeline.

This JavaScript also (when needed) generates a fetch request to retrieve additional properties populated with data from the client side It depends on the JSON Bundler element (both are automatically added to a Pipeline unless specifically removed) for its list of properties. The results of the JSON Bundler should also be used in a user-specified endpoint which retrieves the JSON from the client side. The JavaScriptBuilder is constructed with a url for this endpoint.

Inheritance diagram for fiftyone\pipeline\core\JavascriptBuilderElement:

[legend]

Collaboration diagram for fiftyone\pipeline\core\JavascriptBuilderElement:

[legend]

Public Member Functions

 __construct ($settings=array())
 getEvidenceKeyFilter ()
The JavaScriptBuilder captures query string evidence and headers for detecting whether the request is http or https.
 processInternal ($flowData)
The JavaScriptBundler collects client side javascript to serve. More...
 __construct ($settings=array())
 getEvidenceKeyFilter ()
The JavaScriptBuilder captures query string evidence and headers for detecting whether the request is http or https.
 processInternal ($flowData)
The JavaScriptBundler collects client side javascript to serve. More...
 __construct ($settings=array())
 getEvidenceKeyFilter ()
The JavaScriptBuilder captures query string evidence and headers for detecting whether the request is http or https.
 processInternal ($flowData)
The JavaScriptBundler collects client side javascript to serve. More...
 __construct ($settings=array())
 getEvidenceKeyFilter ()
The JavaScriptBuilder captures query string evidence and headers for detecting whether the request is http or https.
 processInternal ($flowData)
The JavaScriptBundler collects client side javascript to serve. More...

Public Member Functions inherited from fiftyone\pipeline\core\FlowElement

 process ($flowData)
General wrapper function that calls a FlowElement's processInternal method. More...
 getEvidenceKeyFilter ()
Function for getting the FlowElement's EvidenceKeyFilter Used by the filterEvidence method. More...
 filterEvidence ($flowData)
Filter FlowData evidence using the FlowElement's EvidenceKeyFilter. More...
 filterEvidenceKey ($key)
Filter FlowData evidence using the FlowElement's EvidenceKeyFilter. More...
 onRegistration ($pipeline)
Callback called when an engine is added to a pipeline. More...
 processInternal ($flowData)
Process FlowData - this is process function is usually overriden by specific FlowElements to do their core work. More...
 getProperties ()
Get properties is usually overriden by specific FlowElements. More...
 updatePropertyList ()
Update a FlowElement's property list This is used by elements that are only aware of their properites at a later stage, such as cloud request based FlowElements or FlowElements that change their properties later based on new datafiles.
 process ($flowData)
General wrapper function that calls a FlowElement's processInternal method. More...
 getEvidenceKeyFilter ()
Function for getting the FlowElement's EvidenceKeyFilter Used by the filterEvidence method. More...
 filterEvidence ($flowData)
Filter FlowData evidence using the FlowElement's EvidenceKeyFilter. More...
 filterEvidenceKey ($key)
Filter FlowData evidence using the FlowElement's EvidenceKeyFilter. More...
 onRegistration ($pipeline)
Callback called when an engine is added to a pipeline. More...
 processInternal ($flowData)
Process FlowData - this is process function is usually overriden by specific FlowElements to do their core work. More...
 getProperties ()
Get properties is usually overriden by specific FlowElements. More...
 updatePropertyList ()
Update a FlowElement's property list This is used by elements that are only aware of their properites at a later stage, such as cloud request based FlowElements or FlowElements that change their properties later based on new datafiles.
 process ($flowData)
General wrapper function that calls a FlowElement's processInternal method. More...
 getEvidenceKeyFilter ()
Function for getting the FlowElement's EvidenceKeyFilter Used by the filterEvidence method. More...
 filterEvidence ($flowData)
Filter FlowData evidence using the FlowElement's EvidenceKeyFilter. More...
 filterEvidenceKey ($key)
Filter FlowData evidence using the FlowElement's EvidenceKeyFilter. More...
 onRegistration ($pipeline)
Callback called when an engine is added to a pipeline. More...
 processInternal ($flowData)
Process FlowData - this is process function is usually overriden by specific FlowElements to do their core work. More...
 getProperties ()
Get properties is usually overriden by specific FlowElements. More...
 updatePropertyList ()
Update a FlowElement's property list This is used by elements that are only aware of their properites at a later stage, such as cloud request based FlowElements or FlowElements that change their properties later based on new datafiles.
 process ($flowData)
General wrapper function that calls a FlowElement's processInternal method. More...
 getEvidenceKeyFilter ()
Function for getting the FlowElement's EvidenceKeyFilter Used by the filterEvidence method. More...
 filterEvidence ($flowData)
Filter FlowData evidence using the FlowElement's EvidenceKeyFilter. More...
 filterEvidenceKey ($key)
Filter FlowData evidence using the FlowElement's EvidenceKeyFilter. More...
 onRegistration ($pipeline)
Callback called when an engine is added to a pipeline. More...
 processInternal ($flowData)
Process FlowData - this is process function is usually overriden by specific FlowElements to do their core work. More...
 getProperties ()
Get properties is usually overriden by specific FlowElements. More...
 updatePropertyList ()
Update a FlowElement's property list This is used by elements that are only aware of their properites at a later stage, such as cloud request based FlowElements or FlowElements that change their properties later based on new datafiles.

Data Fields

 $dataKey = "javascriptbuilder"

Data Fields inherited from fiftyone\pipeline\core\FlowElement

 $dataKey
 $properties = []

Member Function Documentation

◆ processInternal() [1/4]

fiftyone\pipeline\core\JavascriptBuilderElement::processInternal (   $flowData )

The JavaScriptBundler collects client side javascript to serve.

Parameters
FlowData - FlowData

◆ processInternal() [2/4]

fiftyone\pipeline\core\JavascriptBuilderElement::processInternal (   $flowData )

The JavaScriptBundler collects client side javascript to serve.

Parameters
FlowData - FlowData

◆ processInternal() [3/4]

fiftyone\pipeline\core\JavascriptBuilderElement::processInternal (   $flowData )

The JavaScriptBundler collects client side javascript to serve.

Parameters
FlowData - FlowData

◆ processInternal() [4/4]

fiftyone\pipeline\core\JavascriptBuilderElement::processInternal (   $flowData )

The JavaScriptBundler collects client side javascript to serve.

Parameters
FlowData - FlowData