Class TableRowsAsRecordsDataProvider
Class TableRowsAsRecordsDataProvider.
This data provider allows to map multiple rows of a SQL table into a single model for usage in a MultiColumnWizard.
- DcGeneral\Data\DefaultDataProvider implements DcGeneral\Data\DataProviderInterface
-
DcGeneral\Data\TableRowsAsRecordsDataProvider
Package: DcGeneral\Data
Located at Data/TableRowsAsRecordsDataProvider.php
public
|
|
protected
|
|
public
|
|
public
|
|
public
|
#
fetchAll(
Unsupported in this data provider, throws an Exception. |
public
|
#
getCount(
Unsupported in this data provider, throws an Exception. |
public
|
#
isUniqueValue( string $strField, mixed $varNew, integer $intId = null )
Unsupported in this data provider, throws an Exception. |
public
|
|
public
|
#
save(
Save a model to the database. |
public
|
#
saveEach(
Unsupported in this data provider, throws an Exception. |
public
boolean
|
|
public
|
#
getVersion( mixed $mixID, mixed $mixVersion )
Unsupported in this data provider, throws an Exception. |
public
null
|
#
getVersions( mixed $mixID, boolean $blnOnlyActive = false )
Return null as versioning is not supported in this data provider. |
public
|
#
saveVersion(
Unsupported in this data provider, throws an Exception. |
public
|
#
setVersionActive( mixed $mixID, mixed $mixVersion )
Unsupported in this data provider, throws an Exception. |
public
|
|
public
|
#
sameModels(
Unsupported in this data provider, throws an Exception. |
protected
|
#
insertUndo( string $strSourceSQL, string $strSaveSQL, string $strTable )
Unsupported in this data provider, throws an Exception. |
protected
string
|
$strGroupCol | 'pid' |
#
Grouping column to use to tie rows together. |
protected
string
|
$strSortCol | '' |
#
Sorting column to sort the entries by. |
$objDatabase,
$strSource
|