Overview

Namespaces

  • DcGeneral
    • Clipboard
    • Contao
      • Callback
      • Compatibility
      • DataDefinition
        • Definition
      • Dca
        • Builder
          • Legacy
        • Definition
        • Palette
        • Populator
      • Event
      • View
        • Contao2BackendView
          • Event
    • Controller
    • Data
    • DataDefinition
      • Builder
      • Definition
        • Properties
        • View
          • Panel
      • ModelRelationship
      • Palette
        • Builder
          • Event
        • Condition
          • Palette
          • Property
    • EnvironmentPopulator
    • Event
    • Exception
    • Factory
      • Event
    • Panel
    • View
      • Event

Classes

  • BackendViewPopulator
  • DataProviderPopulator
  • ExtendedLegacyDcaPopulator
  • HardCodedPopulator
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class DataProviderPopulator

Class DataProviderPopulator.

This class reacts to the PopulateEnvironmentEvent and populates the environment with all data providers implementing the interface ContaoDataProviderInformation.

DcGeneral\EnvironmentPopulator\AbstractEventDrivenEnvironmentPopulator implements DcGeneral\EnvironmentPopulator\EnvironmentPopulatorInterface
Extended by DcGeneral\Contao\Dca\Populator\DataProviderPopulator
Namespace: DcGeneral\Contao\Dca\Populator
Package: DcGeneral\Contao\Dca\Populator
Located at Contao/Dca/Populator/DataProviderPopulator.php
Methods summary
public
# populate( DcGeneral\EnvironmentInterface $environment )

Instantiates and adds the data providers implementing ContaoDataProviderInformation to the environment.

Instantiates and adds the data providers implementing ContaoDataProviderInformation to the environment.

Parameters

$environment
DcGeneral\EnvironmentInterface
$environment The environment to populate.

Throws

DcGeneral\Exception\DcGeneralRuntimeException
When a data provider has already been added to the environment.
Methods inherited from DcGeneral\EnvironmentPopulator\AbstractEventDrivenEnvironmentPopulator
process()
Constants inherited from DcGeneral\EnvironmentPopulator\AbstractEventDrivenEnvironmentPopulator
PRIORITY
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0