Class NoOpDataProvider.

Base implementation of an no operational data provider. This data provider is simply a stub endpoint without any logic at all. It is useful as parent class for drivers that only implement a fraction of all DcGeneral features.

 Methods

{@inheritdoc}

delete($item) 

Parameters

$item

{@inheritdoc}

fetch(\ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface $objConfig) 

Parameters

$objConfig

{@inheritdoc}

fetchAll(\ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface $objConfig) 

Parameters

$objConfig

{@inheritdoc}

fieldExists($strField) 

Parameters

$strField

{@inheritdoc}

getActiveVersion($mixID) 

Parameters

$mixID

{@inheritdoc}

getCount(\ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface $objConfig) 

Parameters

$objConfig

{@inheritdoc}

getEmptyCollection() 

{@inheritdoc}

getEmptyConfig() 

{@inheritdoc}

getEmptyFilterOptionCollection() 

{@inheritdoc}

getEmptyModel() 

{@inheritdoc}

getFilterOptions(\ContaoCommunityAlliance\DcGeneral\Data\ConfigInterface $objConfig) 

Parameters

$objConfig

{@inheritdoc}

getVersion($mixID, $mixVersion) 

Parameters

$mixID

$mixVersion

{@inheritdoc}

getVersions($mixID, $blnOnlyActive) 

Parameters

$mixID

$blnOnlyActive

{@inheritdoc}

isUniqueValue($strField, $varNew, $intId) 

Parameters

$strField

$varNew

$intId

{@inheritdoc}

resetFallback($strField) 

Parameters

$strField

{@inheritdoc}

sameModels($objModel1, $objModel2) 

Parameters

$objModel1

$objModel2

{@inheritdoc}

save(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $objItem) 

Parameters

$objItem

{@inheritdoc}

saveEach(\ContaoCommunityAlliance\DcGeneral\Data\CollectionInterface $objItems) 

Parameters

$objItems

{@inheritdoc}

saveVersion(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $objModel, $strUsername) 

Parameters

$objModel

$strUsername

{@inheritdoc}

setBaseConfig(array $arrConfig) 

Parameters

$arrConfig

{@inheritdoc}

setVersionActive($mixID, $mixVersion) 

Parameters

$mixID

$mixVersion

 Properties

 

The configuration data for this instance.

$arrBaseConfig : array