51Degrees Pipeline PHP  4.1

51Degrees Pipeline for PHP

fiftyone\pipeline\engines\AspectDataDictionary Class Reference

Detailed Description

aspectData class extension that stores content as an array Similar to elementDataDictionary in the Pipeline core library

Inheritance diagram for fiftyone\pipeline\engines\AspectDataDictionary:

[legend]

Collaboration diagram for fiftyone\pipeline\engines\AspectDataDictionary:

[legend]

Public Member Functions

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

Public Member Functions inherited from fiftyone\pipeline\engines\AspectData

 __construct ($flowElement)
Constructor for element data Adds default missing property service if not available. More...
 get ($key)
Get a value (unless in a flowElement's restrictedProperties list) If property not found, call the attached missing property service. 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...

Constructor & Destructor Documentation

◆ __construct()

fiftyone\pipeline\engines\AspectDataDictionary::__construct (   $flowElement,
  $contents  
)

Constructor for element data dictionary.

Parameters
FlowElement -
mixed[] - dicitonary contents

Member Function Documentation

◆ asDictionary()

fiftyone\pipeline\engines\AspectDataDictionary::asDictionary ( )

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

Returns
mixed[]

◆ getInternal()

fiftyone\pipeline\engines\AspectDataDictionary::getInternal (   $key )

Internal getter for contents.

Parameters
string - key
Returns
mixed