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

  • AbstractElement
  • DefaultFilterElement
  • DefaultLimitElement
  • DefaultPanel
  • DefaultPanelContainer
  • DefaultSearchElement
  • DefaultSortElement
  • DefaultSubmitElement

Interfaces

  • FilterElementInterface
  • LimitElementInterface
  • PanelContainerInterface
  • PanelElementInterface
  • PanelInterface
  • SearchElementInterface
  • SortElementInterface
  • SubmitElementInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class DefaultPanel

Default implementation of a panel row.

DcGeneral\Panel\DefaultPanel implements DcGeneral\Panel\PanelInterface
Namespace: DcGeneral\Panel
Package: DcGeneral\Panel
Located at Panel/DefaultPanel.php
Methods summary
public
# __construct( )

Create a new instance.

Create a new instance.

public DcGeneral\Panel\PanelContainerInterface
# getContainer( )

Get the parenting container.

Get the parenting container.

Returns

DcGeneral\Panel\PanelContainerInterface

Implementation of

DcGeneral\Panel\PanelInterface::getContainer()
public DcGeneral\Panel\PanelInterface
# setContainer( DcGeneral\Panel\PanelContainerInterface $objContainer )

Set the parenting container.

Set the parenting container.

Parameters

$objContainer
DcGeneral\Panel\PanelContainerInterface
$objContainer The Container to be used as parent.

Returns

DcGeneral\Panel\PanelInterface

Implementation of

DcGeneral\Panel\PanelInterface::setContainer()
public mixed
# addElement( string $strKey, DcGeneral\Panel\PanelElementInterface $objElement )

Add an element to the panel.

Add an element to the panel.

Parameters

$strKey
string
$strKey Name of the panel.
$objElement
DcGeneral\Panel\PanelElementInterface
$objElement The element instance to add.

Returns

mixed

Implementation of

DcGeneral\Panel\PanelInterface::addElement()
public DcGeneral\Panel\PanelElementInterface
# getElement( string $strKey )

Retrieve an element with the given name.

Retrieve an element with the given name.

Parameters

$strKey
string
$strKey The name of the element.

Returns

DcGeneral\Panel\PanelElementInterface

Implementation of

DcGeneral\Panel\PanelInterface::getElement()
public
# initialize( DcGeneral\Data\ConfigInterface $objConfig, DcGeneral\Panel\PanelElementInterface $objElement = null )

Initialize the passed config via all contained elements.

Initialize the passed config via all contained elements.

Parameters

$objConfig
DcGeneral\Data\ConfigInterface
$objConfig The config to which the initialization shall be applied to.
$objElement
DcGeneral\Panel\PanelElementInterface
$objElement The element to be initialized (if any).

Implementation of

DcGeneral\Panel\PanelInterface::initialize()
public
# getIterator( )
Properties summary
protected DcGeneral\Panel\PanelContainerInterface $objContainer
#

The panel container this panel is contained within.

The panel container this panel is contained within.

protected DcGeneral\Panel\PanelElementInterface[] $arrElements
#

The elements contained within this panel.

The elements contained within this panel.

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