\r\n

51Degrees Device Detection PHP  4.3

Device detection services for 51Degrees Pipeline

fiftyone\pipeline\core\ElementDataDictionary Class Reference

Detailed Description

An extension of ElementData with dictionary object storage / lookup.

Inheritance diagram for fiftyone\pipeline\core\ElementDataDictionary:

[legend]

Collaboration diagram for fiftyone\pipeline\core\ElementDataDictionary:

[legend]

Public Member Functions

 __construct ($flowElement, $contents)
Constructor for element data dictionary. More...
 asDictionary ()
Get the values contained in the ElementData instance as a dictionary of keys and values. More...
 getInternal ($key)
Internal getter for contents. More...
 __construct ($flowElement, $contents)
Constructor for element data dictionary. More...
 asDictionary ()
Get the values contained in the ElementData instance as a dictionary of keys and values. More...
 getInternal ($key)
Internal getter for contents. More...
 __construct ($flowElement, $contents)
Constructor for element data dictionary. More...
 asDictionary ()
Get the values contained in the ElementData instance as a dictionary of keys and values. More...
 getInternal ($key)
Internal getter for contents. More...
 __construct ($flowElement, $contents)
Constructor for element data dictionary. More...
 asDictionary ()
Get the values contained in the ElementData instance as a dictionary of keys and values. More...
 getInternal ($key)
Internal getter for contents. More...

Public Member Functions inherited from fiftyone\pipeline\core\ElementData

 __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...

Constructor & Destructor Documentation

◆ __construct() [1/4]

fiftyone\pipeline\core\ElementDataDictionary::__construct (   $flowElement,
  $contents  
)

Constructor for element data dictionary.

Parameters
FlowElement -
mixed[] - dicitonary contents

◆ __construct() [2/4]

fiftyone\pipeline\core\ElementDataDictionary::__construct (   $flowElement,
  $contents  
)

Constructor for element data dictionary.

Parameters
FlowElement -
mixed[] - dicitonary contents

◆ __construct() [3/4]

fiftyone\pipeline\core\ElementDataDictionary::__construct (   $flowElement,
  $contents  
)

Constructor for element data dictionary.

Parameters
FlowElement -
mixed[] - dicitonary contents

◆ __construct() [4/4]

fiftyone\pipeline\core\ElementDataDictionary::__construct (   $flowElement,
  $contents  
)

Constructor for element data dictionary.

Parameters
FlowElement -
mixed[] - dicitonary contents

Member Function Documentation

◆ asDictionary() [1/4]

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

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

Returns
mixed[]

◆ asDictionary() [2/4]

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

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

Returns
mixed[]

◆ asDictionary() [3/4]

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

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

Returns
mixed[]

◆ asDictionary() [4/4]

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

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

Returns
mixed[]

◆ getInternal() [1/4]

fiftyone\pipeline\core\ElementDataDictionary::getInternal (   $key )

Internal getter for contents.

Parameters
string - key
Returns
mixed

◆ getInternal() [2/4]

fiftyone\pipeline\core\ElementDataDictionary::getInternal (   $key )

Internal getter for contents.

Parameters
string - key
Returns
mixed

◆ getInternal() [3/4]

fiftyone\pipeline\core\ElementDataDictionary::getInternal (   $key )

Internal getter for contents.

Parameters
string - key
Returns
mixed

◆ getInternal() [4/4]

fiftyone\pipeline\core\ElementDataDictionary::getInternal (   $key )

Internal getter for contents.

Parameters
string - key
Returns
mixed