\r\n

51Degrees Device Detection PHP  4.3

Device detection services for 51Degrees Pipeline

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...
 __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...
 __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...
 __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...
 getInternal ($key)
Called by the get() method Returns the requested property from the data. More...
 getInternal ($key)
Called by the get() method Returns the requested property from the data. More...
 getInternal ($key)
Called by the get() method Returns the requested property from the data. More...

Constructor & Destructor Documentation

◆ __construct() [1/4]

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

Constructor for element data.

Parameters
FlowElement -

◆ __construct() [2/4]

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

Constructor for element data.

Parameters
FlowElement -

◆ __construct() [3/4]

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

Constructor for element data.

Parameters
FlowElement -

◆ __construct() [4/4]

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

Constructor for element data.

Parameters
FlowElement -

Member Function Documentation

◆ asDictionary() [1/4]

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

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

Returns
mixed[]

◆ asDictionary() [2/4]

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

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

Returns
mixed[]

◆ asDictionary() [3/4]

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

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

Returns
mixed[]

◆ asDictionary() [4/4]

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

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

Returns
mixed[]

◆ get() [1/4]

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

◆ get() [2/4]

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

◆ get() [3/4]

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

◆ get() [4/4]

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() [1/4]

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

Helper method to get property as a float.

Parameters
string - property
Returns
float

◆ getAsFloat() [2/4]

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

Helper method to get property as a float.

Parameters
string - property
Returns
float

◆ getAsFloat() [3/4]

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

Helper method to get property as a float.

Parameters
string - property
Returns
float

◆ getAsFloat() [4/4]

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

Helper method to get property as a float.

Parameters
string - property
Returns
float

◆ getAsInteger() [1/4]

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

Helper method to get property as a int.

Parameters
string - property
Returns
int

◆ getAsInteger() [2/4]

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

Helper method to get property as a int.

Parameters
string - property
Returns
int

◆ getAsInteger() [3/4]

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

Helper method to get property as a int.

Parameters
string - property
Returns
int

◆ getAsInteger() [4/4]

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

Helper method to get property as a int.

Parameters
string - property
Returns
int

◆ getAsString() [1/4]

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

Helper method to get property as a string.

Parameters
string - property
Returns
string

◆ getAsString() [2/4]

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

Helper method to get property as a string.

Parameters
string - property
Returns
string

◆ getAsString() [3/4]

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

Helper method to get property as a string.

Parameters
string - property
Returns
string

◆ getAsString() [4/4]

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

Helper method to get property as a string.

Parameters
string - property
Returns
string

◆ getInternal() [1/4]

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

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

Parameters
string - property
Returns
mixed

◆ getInternal() [2/4]

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

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

Parameters
string - property
Returns
mixed

◆ getInternal() [3/4]

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

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

Parameters
string - property
Returns
mixed

◆ getInternal() [4/4]

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

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

Parameters
string - property
Returns
mixed