◆ __construct()
fiftyone\pipeline\core\ElementData::__construct | ( | $flowElement | ) |
Constructor for element data.
- Parameters
-
- FlowElement -
\r\n
Stores information created by a FlowElement based on FlowData.
Stored in FlowData
__construct ($flowElement)
Constructor for element data. More...
| |
get ($key)
Get a value from the ElementData contents This calls the ElementData class' (often overridden) getInternal method. More...
| |
__get ($key) |
getInternal ($key) |
fiftyone\pipeline\core\ElementData::__construct | ( | $flowElement | ) |
Constructor for element data.
fiftyone\pipeline\core\ElementData::asDictionary | ( | ) |
Get the values contained in the ElementData instance as a dictionary of keys and values.
fiftyone\pipeline\core\ElementData::get | ( | $key | ) |
Get a value from the ElementData contents This calls the ElementData class' (often overridden) getInternal method.
fiftyone\pipeline\core\ElementData::getAsFloat | ( | $key | ) |
Helper method to get property as a float.
fiftyone\pipeline\core\ElementData::getAsInteger | ( | $key | ) |
Helper method to get property as a int.
fiftyone\pipeline\core\ElementData::getAsString | ( | $key | ) |
Helper method to get property as a string.
fiftyone\pipeline\core\ElementData::getInternal | ( | $key | ) |
Called by the get() method Returns the requested property from the data.