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

  • BaseView
  • ContaoBackendViewTemplate
  • ContaoWidgetManager
  • ListView
  • ParentView
  • TreeView

Interfaces

  • BackendViewInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class ListView

Class ListView.

The implementation of a plain listing view.

DcGeneral\Contao\View\Contao2BackendView\BaseView implements DcGeneral\Contao\View\Contao2BackendView\BackendViewInterface
Extended by DcGeneral\Contao\View\Contao2BackendView\ListView
Namespace: DcGeneral\Contao\View\Contao2BackendView
Package: DcGeneral\Contao\View\Contao2BackendView
Located at Contao/View/Contao2BackendView/ListView.php
Methods summary
public DcGeneral\Data\CollectionInterface
# loadCollection( )

Load the collection of child items and the parent item for the currently selected parent item.

Load the collection of child items and the parent item for the currently selected parent item.

Returns

DcGeneral\Data\CollectionInterface
protected array
# getTableHead( )

Return the table heading.

Return the table heading.

Returns

array
protected
# setListViewLabel( DcGeneral\Data\CollectionInterface $collection, array $groupingInformation )

Set label for list view.

Set label for list view.

Parameters

$collection
DcGeneral\Data\CollectionInterface
$collection The collection containing the models.
$groupingInformation
array
$groupingInformation The grouping information as retrieved via BaseView::getGroupingMode().
protected string
# viewList( DcGeneral\Data\CollectionInterface $collection )

Generate list view from current collection.

Generate list view from current collection.

Parameters

$collection
DcGeneral\Data\CollectionInterface
$collection The collection containing the models.

Returns

string
public string
# copy( )

Copy mode - this redirects to edit.

Copy mode - this redirects to edit.

Returns

string

Overrides

DcGeneral\Contao\View\Contao2BackendView\BaseView::copy()
public string
# showAll( )

Show all entries from one table.

Show all entries from one table.

Returns

string

Overrides

DcGeneral\Contao\View\Contao2BackendView\BaseView::showAll()
Methods inherited from DcGeneral\Contao\View\Contao2BackendView\BaseView
addToTemplate(), breadcrumb(), buildCommand(), checkClipboard(), checkLanguage(), checkRestoreVersion(), copyAll(), create(), createEditMask(), createEmptyModelWithDefaults(), cut(), cutAll(), delete(), dispatchEvent(), edit(), enforceModelRelationship(), formatCurrentValue(), formatModel(), generateAjaxPalette(), generateButtons(), generateHeaderButton(), generateHeaderButtons(), getBackCommand(), getButtonLabel(), getClearClipboardCommand(), getCreateModelCommand(), getDataDefinition(), getEditButtons(), getEnvironment(), getGroupingMode(), getLabelForShow(), getPanel(), getReadableFieldValue(), getSelectButtons(), getTemplate(), getViewSection(), handleAjaxCall(), handleSubmit(), isMultiLanguage(), isPopup(), isSelectModeActive(), move(), panel(), paste(), processInput(), redirectHome(), renderPasteAfterButton(), renderPasteIntoButton(), setEnvironment(), setPanel(), show(), storeVersion(), translate(), undo()
Properties inherited from DcGeneral\Contao\View\Contao2BackendView\BaseView
$environment, $notImplMsg, $panel
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0