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 BackendViewPopulator

Class BackendViewPopulator

This class is the default fallback populator in the Contao Backend to instantiate a BackendView.

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

Create a view instance in the environment if none has been defined yet.

Create a view instance in the environment if none has been defined yet.

Parameters

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

Throws

DcGeneral\Exception\DcGeneralInvalidArgumentException
Upon an unknown view mode has been encountered.

Internal

protected
# populatePanel( DcGeneral\EnvironmentInterface $environment )

Create a panel instance in the view if none has been defined yet.

Create a panel instance in the view if none has been defined yet.

Parameters

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

Internal

public
# populate( DcGeneral\EnvironmentInterface $environment )

Create a view instance in the environment if none has been defined yet.

Create a view instance in the environment if none has been defined yet.

Parameters

$environment
DcGeneral\EnvironmentInterface
$environment The environment to populate.
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