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

To utilize this class, you only have to implement the remaining method "populate" and register the populators static method "process" to the event dispatcher.

 Methods

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

populate(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment) : void

Parameters

$environment

\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface

The environment to populate.

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

populatePanel(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment) : void
internal

Parameters

$environment

\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface

The environment to populate.

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

populateView(\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface $environment) : void
internal

Parameters

$environment

\ContaoCommunityAlliance\DcGeneral\EnvironmentInterface

The environment to populate.

Exceptions

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

 Constants

 

PRIORITY

PRIORITY