SidebarComponentResult

final readonly class \TYPO3\CMS\Backend\Sidebar\SidebarComponentResult

Implements
JsonSerializable

Result object for sidebar component rendering.

This class provides a structured response format that can be consistently evaluated on both PHP and JavaScript sides.

Table of Contents

Interfaces

JsonSerializable

Properties

$html  : string
$identifier  : string
$module  : string

Methods

__construct()  : mixed
jsonSerialize()  : array

Properties

Methods

__construct()

public __construct(string $identifier, string $html[, string $module = '' ]) : mixed

Parameters

$identifier : string
$html : string
$module : string = ''

jsonSerialize()

public jsonSerialize() : array

Return values

array
On this page