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.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $html : string
- $identifier : string
- $module : string
Methods
- __construct() : mixed
- jsonSerialize() : array<string|int, mixed>
Properties
$html
public
string
$html
$identifier
public
string
$identifier
$module
public
string
$module
= ''
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>