Bitrix API

Notification implements JsonSerializable

FinalYes

Table of Contents

Interfaces

JsonSerializable

Methods

__construct()  : mixed
Value object of notification to send via NotificationManager
jsonSerialize()  : array<string|int, mixed>

Methods

__construct()

Value object of notification to send via NotificationManager

public __construct(array<string|int, mixed> $options) : mixed
Parameters
$options : array<string|int, mixed>

= [ 'id' => '', //required filled string 'category' => '', //optional 'title' => '', //optional 'text' => '', //optional 'icon' => '', //optional 'inputPlaceholderText' => '', //optional 'button1Text' => '', //optional 'button2Text' => '', //optional ];

Tags
see
NotificationManager
throws
ArgumentException

jsonSerialize()

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

        
On this page

Search results