ListWidget

class \TYPO3\CMS\Dashboard\Widgets\ListWidget

Implements
WidgetInterface

Concrete List Widget implementation

The widget will show a simple list with items provided by a data provider. You can add a button to the widget by defining a button provider.

There are no options available for this widget

Tags

see
ListDataProviderInterface
see
ButtonProviderInterface

Table of Contents

Interfaces

WidgetInterface
The WidgetInterface is the base interface for all kind of widgets.

Methods

__construct()  : mixed
getOptions()  : array
renderWidgetContent()  : string
This method returns the content of a widget. The returned markup will be delivered by an AJAX call and will not be escaped.
getItems()  : array

Methods

getOptions()

public getOptions() : array

Return values

array

renderWidgetContent()

This method returns the content of a widget. The returned markup will be delivered by an AJAX call and will not be escaped.

public renderWidgetContent() : string

Be aware of XSS and ensure that the content is well encoded.

Return values

string

getItems()

protected getItems() : array

Return values

array
On this page