Class ModelToLabelEvent
Class ModelToLabelEvent.
This event gets emitted when a model shall be translated to an html representation.
- Symfony\Component\EventDispatcher\Event
-
DcGeneral\Event\AbstractEnvironmentAwareEvent implements DcGeneral\EnvironmentAwareInterface
-
DcGeneral\Event\AbstractModelAwareEvent implements DcGeneral\ModelAwareInterface
-
DcGeneral\Contao\View\Contao2BackendView\Event\ModelToLabelEvent
Namespace: DcGeneral\Contao\View\Contao2BackendView\Event
Package: DcGeneral\Contao\View\Contao2BackendView\Event
Located at Contao/View/Contao2BackendView/Event/ModelToLabelEvent.php
Package: DcGeneral\Contao\View\Contao2BackendView\Event
Located at Contao/View/Contao2BackendView/Event/ModelToLabelEvent.php
public
|
|
public
array
|
|
public
|
|
public
string
|
|
public
|
#
setFormatter(
Set the label information instance. |
public
|
__construct(),
getModel()
|
getEnvironment()
|
string |
NAME
|
'dc-general.view.contao2backend.model-to-label' |
protected
string
|
$label |
|
#
The label for the model. |
protected
|
$listLabel |
|
#
The label information instance. |
protected
array
|
$args |
|
#
The arguments to use when building the label from the format string. |
$model
|
$environment
|