Default implementation of an environment.
public DcGeneral\EnvironmentInterface
DcGeneral\EnvironmentInterface
setController( DcGeneral\Controller\ControllerInterface $objController )
DcGeneral\Controller\ControllerInterface
Set the Controller for the current setup.
DcGeneral\EnvironmentInterface::setController()
public DcGeneral\Controller\ControllerInterface
getController( )
Retrieve the Controller from the current setup.
DcGeneral\EnvironmentInterface::getController()
setView( DcGeneral\View\ViewInterface $objView )
DcGeneral\View\ViewInterface
Set the View for the current setup.
DcGeneral\EnvironmentInterface::setView()
public DcGeneral\View\ViewInterface
getView( )
Retrieve the View from the current setup.
DcGeneral\EnvironmentInterface::getView()
setDataDefinition( DcGeneral\DataDefinition\ContainerInterface $objDataDefinition )
DcGeneral\DataDefinition\ContainerInterface
Set the data definition for this instance.
DcGeneral\EnvironmentInterface::setDataDefinition()
public DcGeneral\DataDefinition\ContainerInterface
getDataDefinition( )
Retrieve the data definition for this instance.
DcGeneral\EnvironmentInterface::getDataDefinition()
setParentDataDefinition( DcGeneral\DataDefinition\ContainerInterface $objParentDataDefinition )
Set the data definition of the parent container.
DcGeneral\EnvironmentInterface::setParentDataDefinition()
getParentDataDefinition( )
Retrieve the data definition for the parent container. This applies only when in parented mode.
DcGeneral\EnvironmentInterface::getParentDataDefinition()
setRootDataDefinition( DcGeneral\DataDefinition\ContainerInterface $objRootDataDefinition )
Set the data definition of the root container.
DcGeneral\EnvironmentInterface::setRootDataDefinition()
getRootDataDefinition( )
Retrieve the data definition for the root container. This applies only when in hierarchical mode.
DcGeneral\EnvironmentInterface::getRootDataDefinition()
setInputProvider( DcGeneral\InputProviderInterface $objInputProvider )
DcGeneral\InputProviderInterface
Set the input provider to use.
DcGeneral\EnvironmentInterface::setInputProvider()
public DcGeneral\InputProviderInterface
getInputProvider( )
Retrieve the input provider.
DcGeneral\EnvironmentInterface::getInputProvider()
public mixed
hasDataProvider( string|null $strSource = null )
Determine if the data provider with the given name exists.
string|null
mixed
DcGeneral\EnvironmentInterface::hasDataProvider()
public DcGeneral\Data\DataProviderInterface
DcGeneral\Data\DataProviderInterface
getDataProvider( string|null $strSource = null )
Retrieve the data provider for the named source.
DcGeneral\Exception\DcGeneralRuntimeException
DcGeneral\EnvironmentInterface::getDataProvider()
addDataProvider( string $strSource, DcGeneral\Data\DataProviderInterface $dataProvider )
Register a data provider to the environment.
string
DcGeneral\EnvironmentInterface::addDataProvider()
removeDataProvider( string $strSource )
Remove a data provider from the environment.
DcGeneral\EnvironmentInterface::removeDataProvider()
getDataDriver( string|null $strSource = null )
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()
addDataDriver( string $strSource, DcGeneral\Data\DataProviderInterface $dataProvider )
removeDataDriver( string $strSource )
setPanelContainer( DcGeneral\Panel\PanelContainerInterface $objPanelContainer )
DcGeneral\Panel\PanelContainerInterface
Store the panel container in the view.
DcGeneral\Exception\DcGeneralInvalidArgumentException
public DcGeneral\Panel\PanelContainerInterface
getPanelContainer( )
Retrieve the panel container.
public DcGeneral\Clipboard\ClipboardInterface
DcGeneral\Clipboard\ClipboardInterface
getClipboard( )
Return the clipboard.
DcGeneral\EnvironmentInterface::getClipboard()
setClipboard( DcGeneral\Clipboard\ClipboardInterface $objClipboard )
Set the the clipboard.
DcGeneral\EnvironmentInterface::setClipboard()
setTranslator( ContaoCommunityAlliance\Translator\TranslatorInterface $translator )
Set the translation manager to use.
ContaoCommunityAlliance\Translator\TranslatorInterface
DcGeneral\EnvironmentInterface::setTranslator()
public ContaoCommunityAlliance\Translator\TranslatorInterface
getTranslator( )
Retrieve the translation manager to use.
DcGeneral\EnvironmentInterface::getTranslator()
setEventPropagator( DcGeneral\Event\EventPropagatorInterface $propagator )
DcGeneral\Event\EventPropagatorInterface
Set the event propagator to use.
DcGeneral\EnvironmentInterface::setEventPropagator()
public DcGeneral\Event\EventPropagatorInterface
getEventPropagator( )
Retrieve the event propagator to use.
DcGeneral\EnvironmentInterface::getEventPropagator()
protected DcGeneral\Controller\ControllerInterface
The controller.
protected DcGeneral\View\ViewInterface
The view in use.
protected DcGeneral\DataDefinition\ContainerInterface
The data container definition.
The data container definition of the parent table.
The data container definition of the root table.
protected DcGeneral\InputProviderInterface
The attached input provider.
protected DcGeneral\Data\DataProviderInterface[]
DcGeneral\Data\DataProviderInterface[]
The registered data providers.
protected DcGeneral\Clipboard\ClipboardInterface
The clipboard in use.
protected ContaoCommunityAlliance\Translator\TranslatorInterface
The translator in use.
protected DcGeneral\Event\EventPropagatorInterface
The event propagator in use.