◆ __construct()
fiftyone\pipeline\core\FlowData::__construct | ( | $pipeline | ) |
Constructor for FlowData.
- Parameters
-
- Pipeline - // parent Pipeline
Member Function Documentation
◆ __get()
fiftyone\pipeline\core\FlowData::__get ( $flowElementKey ) Magic getter to allow $FlowData->FlowElementKey getting.
- Parameters
-
- string - FlowElementKey
- Returns
- $ElementData
◆ get()
fiftyone\pipeline\core\FlowData::get ( $flowElementKey ) Retrieve data by FlowElement key.
- Parameters
-
- string - FlowElementDataKey
- Returns
- ElementData
◆ getEvidenceDataKey()
fiftyone\pipeline\core\FlowData::getEvidenceDataKey ( ) Get an array evidence stored in the FlowData, filtered by its FlowElements' EvidenceKeyFilters.
- Returns
- array
◆ getFromElement()
fiftyone\pipeline\core\FlowData::getFromElement ( $flowElement ) Retrieve data by FlowElement object.
- Parameters
-
- FlowElement -
- Returns
- ElementData
◆ getWhere()
fiftyone\pipeline\core\FlowData::getWhere ( $metaKey, $metaValue ) Get data from FlowElement based on property meta data.
- Parameters
-
- string - metakey
- mixed - metavalue
- Returns
- array
◆ process()
fiftyone\pipeline\core\FlowData::process ( ) process function runs the process function on every attached FlowElement allowing data to be changed based on evidence This can only be run once per FlowData instance
- Returns
- FlowData
◆ setElementData()
fiftyone\pipeline\core\FlowData::setElementData ( $data ) Set data (used by FlowElement)
- Parameters
-
- ElementData -
◆ setError()
fiftyone\pipeline\core\FlowData::setError ( $key, $error ) Set error (should be keyed by FlowElement dataKey)
- Parameters
-
- string - key
- string - error message
◆ stop()
fiftyone\pipeline\core\FlowData::stop ( ) Stop processing any subsequent FlowElements.
- Returns
- void