51Degrees Pipeline PHP  4.1

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]

Public Member Functions

 __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)
 asDictionary ()
Get the values contained in the ElementData instance as a dictionary of keys and values. More...
 getAsString ($key)
Helper method to get property as a string. More...
 getAsFloat ($key)
Helper method to get property as a float. More...
 getAsInteger ($key)
Helper method to get property as a int. More...

Data Fields

 $flowElement

Protected Member Functions

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

Constructor & Destructor Documentation

◆ __construct()

fiftyone\pipeline\core\ElementData::__construct (   $flowElement )

Constructor for element data.

Parameters
FlowElement -

Member Function Documentation

◆ asDictionary()

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

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

Returns
mixed[]

◆ get()

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

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

Parameters
string - property
Returns
mixed

◆ getAsFloat()

fiftyone\pipeline\core\ElementData::getAsFloat (   $key )

Helper method to get property as a float.

Parameters
string - property
Returns
float

◆ getAsInteger()

fiftyone\pipeline\core\ElementData::getAsInteger (   $key )

Helper method to get property as a int.

Parameters
string - property
Returns
int

◆ getAsString()

fiftyone\pipeline\core\ElementData::getAsString (   $key )

Helper method to get property as a string.

Parameters
string - property
Returns
string

◆ getInternal()

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

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

Parameters
string - property
Returns
mixed