Soong
Soong provides a general-purpose ETL library for data migration.
|
Basic implementation of data records as arrays. More...
Public Member Functions | |||||||
__construct ($data=[]) | |||||||
Create a record populated with a set of named data properties. More... | |||||||
setPropertyValue (string $propertyName, $propertyValue) | |||||||
Set a property from an existing Property object.
| |||||||
getPropertyValue (string $propertyName) | |||||||
Retrieve a property value as a Property.
| |||||||
toArray () | |||||||
Fetch the list of named properties as an associative array.
| |||||||
propertyExists (string $propertyName) | |||||||
Does the named property exist in this record?
| |||||||
Basic implementation of data records as arrays.
__construct | ( | $data = [] | ) |
Create a record populated with a set of named data properties.
array | $data | Associative array of property values, keyed by property name. |
setPropertyValue | ( | string | $propertyName, |
$propertyValue | |||
) |
Set a property from an existing Property object.
string | $propertyName | Name of the property to set. |
mixed | $propertyValue | Property value to set. |
Implements Record.
Referenced by BasicRecord\__construct().
getPropertyValue | ( | string | $propertyName | ) |
Retrieve a property value as a Property.
string | $propertyName | Name of the property to get. |
Implements Record.
toArray | ( | ) |
Fetch the list of named properties as an associative array.
Implements Record.
propertyExists | ( | string | $propertyName | ) |
Does the named property exist in this record?
string | $propertyName | Name of the property to get. |
Implements Record.