Bitrix API

Notification

Table of Contents

Methods

__call()  : mixed
It's magic.
__construct()  : mixed
Creates (wake-ups) a notification object.
checkConditions()  : string
Agent function.
delete()  : Result
Deletes data from DB.
fill()  : mixed
Fills data from DB.
fillActions()  : mixed
Fills the actions collection from DB.
getActions()  : array<string|int, Action>
Returns an array of actions.
getActive()  : bool
getAlertCount()  : int
getAuditTypeId()  : string
getCheckInterval()  : int
getDateChecked()  : DateTime
getEventCount()  : int
getId()  : int
getItemId()  : string
getName()  : string
getRemoteAddr()  : string
getRequestUri()  : string
getUserAgent()  : string
getUserId()  : int
save()  : Result
Saves data to DB.
send()  : mixed
Sends the notification via its actions.
setActionsFromArray()  : mixed
Sets actions from an array.
setActive()  : $this
setAlertCount()  : $this
setAuditTypeId()  : $this
setCheckInterval()  : $this
setDateChecked()  : $this
setEventCount()  : $this
setFromArray()  : mixed
Sets values from an array.
setItemId()  : $this
setName()  : $this
setRemoteAddr()  : $this
setRequestUri()  : $this
setUserAgent()  : $this
setUserId()  : $this

Methods

__call()

It's magic.

public __call(string $name, array<string|int, mixed> $arguments) : mixed

..

Parameters
$name : string
$arguments : array<string|int, mixed>
Tags
throws
SystemException

__construct()

Creates (wake-ups) a notification object.

public __construct([int $id = 0 ]) : mixed
Parameters
$id : int = 0

checkConditions()

Agent function.

public static checkConditions(int $id) : string
Parameters
$id : int

Notification ID

Return values
string

fillActions()

Fills the actions collection from DB.

public fillActions() : mixed

getActions()

Returns an array of actions.

public getActions() : array<string|int, Action>
Return values
array<string|int, Action>

getAlertCount()

public getAlertCount() : int
Return values
int

getAuditTypeId()

public getAuditTypeId() : string
Return values
string

getCheckInterval()

public getCheckInterval() : int
Return values
int

getEventCount()

public getEventCount() : int
Return values
int

getItemId()

public getItemId() : string
Return values
string

getRemoteAddr()

public getRemoteAddr() : string
Return values
string

getRequestUri()

public getRequestUri() : string
Return values
string

getUserAgent()

public getUserAgent() : string
Return values
string

send()

Sends the notification via its actions.

public send() : mixed

setActionsFromArray()

Sets actions from an array.

public setActionsFromArray(array<string|int, mixed> $values) : mixed
Parameters
$values : array<string|int, mixed>

setActive()

public setActive(mixed $arg) : $this
Parameters
$arg : mixed
Return values
$this

setAlertCount()

public setAlertCount(mixed $arg) : $this
Parameters
$arg : mixed
Return values
$this

setAuditTypeId()

public setAuditTypeId(mixed $arg) : $this
Parameters
$arg : mixed
Return values
$this

setCheckInterval()

public setCheckInterval(mixed $arg) : $this
Parameters
$arg : mixed
Return values
$this

setDateChecked()

public setDateChecked(mixed $arg) : $this
Parameters
$arg : mixed
Return values
$this

setEventCount()

public setEventCount(int $n) : $this
Parameters
$n : int
Return values
$this

setFromArray()

Sets values from an array.

public setFromArray(array<string|int, mixed> $values) : mixed
Parameters
$values : array<string|int, mixed>

setItemId()

public setItemId(mixed $arg) : $this
Parameters
$arg : mixed
Return values
$this

setName()

public setName(mixed $arg) : $this
Parameters
$arg : mixed
Return values
$this

setRemoteAddr()

public setRemoteAddr(mixed $arg) : $this
Parameters
$arg : mixed
Return values
$this

setRequestUri()

public setRequestUri(mixed $arg) : $this
Parameters
$arg : mixed
Return values
$this

setUserAgent()

public setUserAgent(mixed $arg) : $this
Parameters
$arg : mixed
Return values
$this

setUserId()

public setUserId(mixed $arg) : $this
Parameters
$arg : mixed
Return values
$this

        
On this page

Search results