Default implementation of an environment.
SuppressWarnings |
(PHPMD.LongVariable) |
Methods
Register a data provider to the environment.
addDataDriver(string $strSource, \ContaoCommunityAlliance\DcGeneral\Data\DataProviderInterface $dataProvider) : \ContaoCommunityAlliance\DcGeneral\EnvironmentInterface
deprecated |
Use addDataProvider() instead! |
Parameters
$strSource
string
The name of the source.
Returns
{@inheritdoc}
addDataProvider($strSource, $dataProvider)
Parameters
$strSource
$dataProvider
{@inheritdoc}
getBaseConfigRegistry()
{@inheritdoc}
getClipboard()
{@inheritdoc}
getController()
{@inheritdoc}
getDataDefinition()
Retrieve the data provider for the named source.
getDataDriver(string|null $strSource) : \ContaoCommunityAlliance\DcGeneral\Data\DataProviderInterface
If a source name is given, the named data provider will get returned, if not given, the default data provider
will get returned, the default is to be determined via: getEnvironment()->getDataDefinition()->getDataProvider()
deprecated |
Use getDataProvider() instead! |
Parameters
$strSource
string
null
The name of the source.
Returns
{@inheritdoc}
getDataProvider($strSource)
Parameters
$strSource
Exceptions
{@inheritdoc}
getEventDispatcher()
{@inheritdoc}
getParentDataDefinition()
{@inheritdoc}
getRootDataDefinition()
{@inheritdoc}
getSessionStorage()
{@inheritdoc}
getTranslator()
{@inheritdoc}
hasDataProvider($strSource)
{@inheritdoc}
removeDataProvider($strSource)
{@inheritdoc}
setBaseConfigRegistry($baseConfigRegistry)
Parameters
$baseConfigRegistry
{@inheritdoc}
setClipboard($objClipboard)
{@inheritdoc}
setController($objController)
Parameters
$objController
{@inheritdoc}
setDataDefinition($objDataDefinition)
Parameters
$objDataDefinition
{@inheritdoc}
setEventDispatcher($dispatcher)
Store the panel container in the view.
setPanelContainer(\ContaoCommunityAlliance\DcGeneral\Panel\PanelContainerInterface $objPanelContainer) : \ContaoCommunityAlliance\DcGeneral\EnvironmentInterface
deprecated |
use the proper interface in the view! |
Parameters
Exceptions
Returns
{@inheritdoc}
setParentDataDefinition($objParentDataDefinition)
Parameters
$objParentDataDefinition
{@inheritdoc}
setRootDataDefinition($objRootDataDefinition)
Parameters
$objRootDataDefinition
{@inheritdoc}
setSessionStorage(\ContaoCommunityAlliance\DcGeneral\SessionStorageInterface $sessionStorage)
Parameters
$sessionStorage
{@inheritdoc}
setTranslator(\ContaoCommunityAlliance\Translator\TranslatorInterface $translator)
{@inheritdoc}
setView($objView)
Properties