SidebarComponentResult implements JsonSerializable

Read onlyYes
FinalYes

Result object for sidebar component rendering.

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

Internal

Table of Contents

Interfaces

JsonSerializable

Properties

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

Methods

__construct()  : mixed
jsonSerialize()  : array<string|int, mixed>

Properties

Methods

__construct()

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

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results