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

  • BaseButtonEvent
  • BaseGetButtonsEvent
  • BuildWidgetEvent
  • DecodePropertyValueForWidgetEvent
  • EditModelBeforeSaveEvent
  • EncodePropertyValueFromWidgetEvent
  • GetBreadcrumbEvent
  • GetEditModeButtonsEvent
  • GetGlobalButtonEvent
  • GetGlobalButtonsEvent
  • GetGroupHeaderEvent
  • GetOperationButtonEvent
  • GetParentHeaderEvent
  • GetPasteButtonEvent
  • GetPasteRootButtonEvent
  • GetPropertyOptionsEvent
  • GetSelectModeButtonsEvent
  • ManipulateWidgetEvent
  • ModelToLabelEvent
  • ParentViewChildRecordEvent
  • ResolveWidgetErrorMessageEvent
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class GetPropertyOptionsEvent

Class GetPropertyOptionsEvent.

This event gets emitted when the options for a property shall get retrieved for the edit view.

Symfony\Component\EventDispatcher\Event
Extended by DcGeneral\Event\AbstractEnvironmentAwareEvent implements DcGeneral\EnvironmentAwareInterface
Extended by DcGeneral\Event\AbstractModelAwareEvent implements DcGeneral\ModelAwareInterface
Extended by DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent
Namespace: DcGeneral\Contao\View\Contao2BackendView\Event
Package: DcGeneral\Contao\View\Contao2BackendView\Event
Located at Contao/View/Contao2BackendView/Event/GetPropertyOptionsEvent.php
Methods summary
public mixed
# setFieldName( string $propertyName )

Set the property name to retrieve the options for.

Set the property name to retrieve the options for.

Deprecated

this method has been renamed to setPropertyName.

Parameters

$propertyName
string
$propertyName The name of the property.

Returns

mixed
$this
public string
# getFieldName( )

Get the property name to retrieve the options for.

Get the property name to retrieve the options for.

Deprecated

this method has been renamed to getPropertyName.

Returns

string
public mixed
# setPropertyName( string $propertyName )

Set the property name to retrieve the options for.

Set the property name to retrieve the options for.

Parameters

$propertyName
string
$propertyName The name of the property.

Returns

mixed
$this
public string
# getPropertyName( )

Get the property name to retrieve the options for.

Get the property name to retrieve the options for.

Returns

string
public mixed
# setOptions( array $options )

Set the options for the property in the event.

Set the options for the property in the event.

Parameters

$options
array
$options The options.

Returns

mixed
$this
public array
# getOptions( )

Retrieve the options for the property from the event.

Retrieve the options for the property from the event.

Returns

array
Methods inherited from DcGeneral\Event\AbstractModelAwareEvent
__construct(), getModel()
Methods inherited from DcGeneral\Event\AbstractEnvironmentAwareEvent
getEnvironment()
Constants summary
string NAME 'dc-general.view.contao2backend.get-property-options'
#
Properties summary
protected string $propertyName
#

The name of the property to retrieve the options for.

The name of the property to retrieve the options for.

protected array $options
#

The options for the properties.

The options for the properties.

Properties inherited from DcGeneral\Event\AbstractModelAwareEvent
$model
Properties inherited from DcGeneral\Event\AbstractEnvironmentAwareEvent
$environment
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0