PHP Interface Storm\Core\Mapping\IDataPropertyColumnMapping

Author: Elliot Levin ([email protected])
Inheritance: extends Storm\Core\Mapping\IPropertyMapping
Mostrar archivo Open project: timetoogo/penumbra Interface Usage Examples

Public Methods

Method Description
GetDataProperty ( ) : Storm\Core\Object\IDataProperty The mapped data property
GetPersistColumns ( ) : Storm\Core\Relational\IColumn[] The columns in which data is persisted.
GetReviveColumns ( ) : Storm\Core\Relational\IColumn[] The columns to load when reviving.
IsIdentityPrimaryKeyMapping ( ) : boolean Whether or not this is mapping an identity/primary key
Persist ( array $PropertyDataArray, array $ColumnDataArray ) : void Maps the property value to the supplied column data.
Revive ( array $ColumnDataArray, array $PropertyDataArray ) : void Maps the column data to property data.

Method Details

GetDataProperty() public method

The mapped data property
public GetDataProperty ( ) : Storm\Core\Object\IDataProperty
return Storm\Core\Object\IDataProperty

GetPersistColumns() public method

The columns in which data is persisted.
public GetPersistColumns ( ) : Storm\Core\Relational\IColumn[]
return Storm\Core\Relational\IColumn[]

GetReviveColumns() public method

The columns to load when reviving.
public GetReviveColumns ( ) : Storm\Core\Relational\IColumn[]
return Storm\Core\Relational\IColumn[]

IsIdentityPrimaryKeyMapping() public method

Whether or not this is mapping an identity/primary key

Persist() public method

Maps the property value to the supplied column data.
public Persist ( array $PropertyDataArray, array $ColumnDataArray ) : void
$PropertyDataArray array The array containing the property data
$ColumnDataArray array The array containing the column data
return void

Revive() public method

Maps the column data to property data.
public Revive ( array $ColumnDataArray, array $PropertyDataArray ) : void
$ColumnDataArray array The array containing the column data
$PropertyDataArray array
return void