\r\n

51Degrees Pipeline PHP  4.4

51Degrees Pipeline for PHP

fiftyone\pipeline\core\ElementData Class Reference

Detailed Description

Stores information created by a FlowElement based on FlowData.

Stored in FlowData.

Inheritance diagram for fiftyone\pipeline\core\ElementData:

[legend]

Collaboration diagram for fiftyone\pipeline\core\ElementData:

[legend]

Public Member Functions

 __construct (FlowElement $flowElement)
 __get (string $key)
 get (string $key)
Get a value from the ElementData contents This calls the ElementData class' (often overridden) getInternal method. More...
 asDictionary ()
Get the values contained in the ElementData instance as a dictionary of keys and values. More...
 getAsString (string $key)
Helper method to get property as a string.
 getAsFloat (string $key)
Helper method to get property as a float.
 getAsInteger (string $key)
Helper method to get property as an int.

Data Fields

FlowElement  $flowElement

Protected Member Functions

 getInternal (string $key)
Called by the get() method Returns the requested property from the data. More...

Member Function Documentation

◆ __get()

fiftyone\pipeline\core\ElementData::__get ( string   $key )
Returns
mixed

◆ asDictionary()

fiftyone\pipeline\core\ElementData::asDictionary ( )

Get the values contained in the ElementData instance as a dictionary of keys and values.

Returns
array<string, mixed>

◆ get()

fiftyone\pipeline\core\ElementData::get ( string   $key )

Get a value from the ElementData contents This calls the ElementData class' (often overridden) getInternal method.

Parameters
string
$key - Property name
Returns
mixed

◆ getInternal()

fiftyone\pipeline\core\ElementData::getInternal ( string   $key )
protected

Called by the get() method Returns the requested property from the data.

Parameters
string
$key - Property name
Returns
mixed
On This Page