Bitrix API

Event

Table of Contents

Constants

SEND_RESULT_ERROR  = 'F'
SEND_RESULT_NONE  = 'N'
SEND_RESULT_PARTLY  = 'P'
SEND_RESULT_SUCCESS  = 'Y'
SEND_RESULT_TEMPLATE_NOT_FOUND  = '0'

Methods

handleEvent()  : string
send()  : AddResult
Send mail event
sendImmediate()  : string

Constants

SEND_RESULT_ERROR

public mixed SEND_RESULT_ERROR = 'F'

SEND_RESULT_NONE

public mixed SEND_RESULT_NONE = 'N'

SEND_RESULT_PARTLY

public mixed SEND_RESULT_PARTLY = 'P'

SEND_RESULT_SUCCESS

public mixed SEND_RESULT_SUCCESS = 'Y'

SEND_RESULT_TEMPLATE_NOT_FOUND

public mixed SEND_RESULT_TEMPLATE_NOT_FOUND = '0'

Methods

handleEvent()

public static handleEvent(array<string|int, mixed> $arEvent) : string
Parameters
$arEvent : array<string|int, mixed>
Tags
throws
ArgumentException
throws
ArgumentNullException
throws
ArgumentTypeException
Return values
string

send()

Send mail event

public static send(array<string|int, mixed> $data) : AddResult
Parameters
$data : array<string|int, mixed>

Params of event

Return values
AddResult

sendImmediate()

public static sendImmediate(array<string|int, mixed> $data) : string
Parameters
$data : array<string|int, mixed>
Tags
throws
ArgumentTypeException
Return values
string

        
On this page

Search results