51Degrees Pipeline PHP  4.1

51Degrees Pipeline for PHP

fiftyone\pipeline\core\JsonBundlerElement Class Reference

Detailed Description

The JSONBundler aggregates all properties from FlowElements into a JSON object It is used for retrieving via an endpoint from the client side via the JavaScriptBuilder and also used inside the JavaScriptBuilder itself to pass properties to the client side.

Both this and the JavaScriptBuilder element are automatically added to a Pipeline unless specifically ommited in the PipelineBuilder

Inheritance diagram for fiftyone\pipeline\core\JsonBundlerElement:

[legend]

Collaboration diagram for fiftyone\pipeline\core\JsonBundlerElement:

[legend]

Public Member Functions

 processInternal ($flowData)
The JSONBundler extracts all properties from a FlowData and serializes them into JSON. 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.

Data Fields

 $dataKey = "jsonbundler"

Data Fields inherited from fiftyone\pipeline\core\FlowElement

 $dataKey
 $properties = []

Member Function Documentation

◆ processInternal()

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

The JSONBundler extracts all properties from a FlowData and serializes them into JSON.

Parameters
FlowData - FlowData