PagesWithoutDescriptionWidget
final class \
- Implements
- WidgetInterface, RequestAwareWidgetInterface
Internal
Table of Contents
Interfaces
- WidgetInterface
- The WidgetInterface is the base interface for all kind of widgets.
- RequestAwareWidgetInterface
- Interface for widgets that need the ServerRequestInterface Request.
Methods
- __construct() : mixed
- getOptions() : array
- This method returns the options of the widget as set in the registration.
- 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.
- setRequest() : void
Methods
__construct()
public
__construct(WidgetConfigurationInterface $configuration, PagesWithoutDescriptionDataProvider $dataProvider, BackendViewFactory $backendViewFactory, array $options) : mixed
Parameters
- $configuration : WidgetConfigurationInterface
- $dataProvider : PagesWithoutDescriptionDataProvider
- $backendViewFactory : BackendViewFactory
- $options : array
getOptions()
This method returns the options of the widget as set in the registration.
public
getOptions() : array
Return values
arrayrenderWidgetContent()
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
stringsetRequest()
public
setRequest(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface