Bitrix API

ActionSms extends Action

Table of Contents

Constants

EVENT_TYPE  = 'SMS_EVENT_LOG_NOTIFICATION'
TYPE_EMAIL  = 'email'
TYPE_SMS  = 'sms'

Methods

__construct()  : mixed
Action constructor.
createByType()  : Action
Creates an action by its type.
getRecipient()  : string
Returns a receiver.
getText()  : string
Returns a text.
getType()  : string
Returns a type of the action.
send()  : mixed
Sends a notification.

Constants

EVENT_TYPE

public mixed EVENT_TYPE = 'SMS_EVENT_LOG_NOTIFICATION'

TYPE_EMAIL

public mixed TYPE_EMAIL = 'email'

TYPE_SMS

public mixed TYPE_SMS = 'sms'

Methods

__construct()

Action constructor.

public __construct(mixed $recipient, mixed $text) : mixed
Parameters
$recipient : mixed
$text : mixed

createByType()

Creates an action by its type.

public static createByType(string $type, string $recipient, string $text) : Action
Parameters
$type : string
$recipient : string
$text : string
Tags
throws
ArgumentException
Return values
Action

getRecipient()

Returns a receiver.

public getRecipient() : string
Return values
string

getText()

Returns a text.

public getText() : string
Return values
string

getType()

Returns a type of the action.

public getType() : string
Return values
string

        
On this page

Search results