This interface describes a collection of data provider information.

 Methods

Add a data provider information to the definition.

addInformation(\ContaoCommunityAlliance\DcGeneral\DataDefinition\DataProviderInformationInterface $information) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\DataProviderDefinitionInterface

Retrieve the data provider information with the given name.

getInformation(string $information) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\DataProviderInformationInterface

Parameters

$information

string

The name of a data provider.

Returns

Retrieve the names of all registered providers.

getProviderNames() : string[]

Returns

string[]

Check if there exists a definition of a data provider with the given name.

hasInformation(\ContaoCommunityAlliance\DcGeneral\DataDefinition\DataProviderInformationInterface|string $information) : bool

Parameters

$information

\ContaoCommunityAlliance\DcGeneral\DataDefinition\DataProviderInformationInterfacestring

The information or name of a data provider.

Returns

bool

Remove the data provider information with the given name.

removeInformation(\ContaoCommunityAlliance\DcGeneral\DataDefinition\DataProviderInformationInterface|string $information) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\DataProviderDefinitionInterface

Forcefully overwrite a stored data provider with another one.

setInformation(string $name, \ContaoCommunityAlliance\DcGeneral\DataDefinition\DataProviderInformationInterface $information) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\DataProviderDefinitionInterface

Parameters

$name

string

The name of a data provider to overwrite.

$information

\ContaoCommunityAlliance\DcGeneral\DataDefinition\DataProviderInformationInterface

The information of the new data provider.

Returns

 Constants

 

NAME

NAME