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

  • AbstractCallbackListener
  • AbstractReturningCallbackListener
  • AbstractStaticCallbackListener
  • Callbacks
  • ContainerGetBreadcrumbCallbackListener
  • ContainerGlobalButtonCallbackListener
  • ContainerHeaderCallbackListener
  • ContainerOnCopyCallbackListener
  • ContainerOnCutCallbackListener
  • ContainerOnDeleteCallbackListener
  • ContainerOnLoadCallbackListener
  • ContainerOnSubmitCallbackListener
  • ContainerPasteButtonCallbackListener
  • ContainerPasteRootButtonCallbackListener
  • ModelChildRecordCallbackListener
  • ModelGroupCallbackListener
  • ModelLabelCallbackListener
  • ModelOperationButtonCallbackListener
  • ModelOptionsCallbackListener
  • PropertyInputFieldCallbackListener
  • PropertyInputFieldGetWizardCallbackListener
  • PropertyOnLoadCallbackListener
  • PropertyOnSaveCallbackListener
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class Callbacks

Class Callbacks.

Static callback emitting class.

Namespace: DcGeneral\Contao\Callback
Package: DcGeneral\Contao\Callback
Located at Contao/Callback/Callbacks.php
Methods summary
public static mixed
# call( array|callable $callback, mixed $_ = null )

Call a Contao style callback.

Call a Contao style callback.

Parameters

$callback
array|callable
$callback The callback to invoke.
$_
mixed
$_ List of arguments to pass to the callback [optional].

Returns

mixed
public static mixed
# callArgs( array|callable $callback, array $args = array() )

Call a Contao style callback.

Call a Contao style callback.

Parameters

$callback
array|callable
$callback The callback to invoke.
$args
array
$args List of arguments to pass to the callback.

Returns

mixed

Throws

DcGeneral\Exception\DcGeneralRuntimeException
When the callback throws an exception.
protected static array|callable
# evaluateCallback( array|callable $callback )

Evaluate the callback and create an object instance if required and possible.

Evaluate the callback and create an object instance if required and possible.

Parameters

$callback
array|callable
$callback The callback to invoke.

Returns

array|callable
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0