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

  • Command
  • CommandCollection
  • CutCommand
  • DefaultListingConfig
  • DefaultModelFormatterConfig
  • DefaultPanelLayout
  • DefaultPanelRow
  • DefaultPanelRowCollection

Interfaces

  • CommandCollectionInterface
  • CommandInterface
  • CutCommandInterface
  • ListingConfigInterface
  • ModelFormatterConfigInterface
  • PanelLayoutInterface
  • PanelRowCollectionInterface
  • PanelRowInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class DefaultPanelRowCollection

Default implementation for a panel row collection.

DcGeneral\DataDefinition\Definition\View\DefaultPanelRowCollection implements DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterface
Namespace: DcGeneral\DataDefinition\Definition\View
Package: DcGeneral\DataDefinition\Definition\View
Located at DataDefinition/Definition/View/DefaultPanelRowCollection.php
Methods summary
public array
# getRows( )

Return rows of panel element names.

Return rows of panel element names.

Returns

array

Implementation of

DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterface::getRows()
public DcGeneral\DataDefinition\Definition\View\PanelRowInterface
# addRow( integer $index = -1 )

Add a new row - optionally at the given position.

Add a new row - optionally at the given position.

Parameters

$index
integer
$index Target position for the new row.

Returns

DcGeneral\DataDefinition\Definition\View\PanelRowInterface

Implementation of

DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterface::addRow()
public DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterface
# deleteRow( integer $index )

Delete a row from the collection.

Delete a row from the collection.

Parameters

$index
integer
$index Remove the row with the given index.

Returns

DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterface

Implementation of

DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterface::deleteRow()
public integer
# getRowCount( )

Retrieve the amount of rows.

Retrieve the amount of rows.

Returns

integer

Implementation of

DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterface::getRowCount()
public DcGeneral\DataDefinition\Definition\View\PanelRowInterface
# getRow( integer $index )

Retrieve the row at the given position.

Retrieve the row at the given position.

Parameters

$index
integer
$index Position of the row.

Returns

DcGeneral\DataDefinition\Definition\View\PanelRowInterface

Throws

DcGeneral\Exception\DcGeneralInvalidArgumentException
When the index does not exist.

Implementation of

DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterface::getRow()
public DcGeneral\DataDefinition\Definition\View\PanelRowInterface[]
# getIterator( )

Retrieve an external iterator.

Retrieve an external iterator.

Returns

DcGeneral\DataDefinition\Definition\View\PanelRowInterface[]

Implementation of

DcGeneral\DataDefinition\Definition\View\PanelRowCollectionInterface::getIterator()
Properties summary
protected DcGeneral\DataDefinition\Definition\View\PanelRowInterface[] $rows array()
#

The panel rows.

The panel rows.

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