Soong
Soong provides a general-purpose ETL library for data migration.
Record Interface Reference

Collection of named data properties and values. More...

Inheritance diagram for Record:
BasicRecord

Public Member Functions

 toArray ()
 Fetch the list of named properties as an associative array. More...
 
 setPropertyValue (string $propertyName, $propertyValue)
 Set a property from an existing Property object. More...
 
 getPropertyValue (string $propertyName)
 Retrieve a property value as a Property. More...
 
 propertyExists (string $propertyName)
 Does the named property exist in this record? More...
 

Detailed Description

Collection of named data properties and values.

Member Function Documentation

◆ toArray()

toArray ( )

Fetch the list of named properties as an associative array.

Returns
array Associative array of property values, keyed by property name.

Implemented in BasicRecord.

◆ setPropertyValue()

setPropertyValue ( string  $propertyName,
  $propertyValue 
)

Set a property from an existing Property object.

Parameters
string$propertyNameName of the property to set.
mixed$propertyValueProperty value to set.

Implemented in BasicRecord.

◆ getPropertyValue()

getPropertyValue ( string  $propertyName)

Retrieve a property value as a Property.

Parameters
string$propertyNameName of the property to get.
Returns
mixed Value of the property.

Implemented in BasicRecord.

Referenced by TestFilter\filter(), and Select\filter().

◆ propertyExists()

propertyExists ( string  $propertyName)

Does the named property exist in this record?

Parameters
string$propertyNameName of the property to get.
Returns
bool TRUE if the property exists (even if its value is NULL), FALSE otherwise.

Implemented in BasicRecord.