Bitrix API

Notify extends BaseSettings

Table of Contents

Methods

__construct()  : mixed
fillDataBase()  : $this
getRestEntityName()  : string
Returns the name of the entity that will be used in the rest response
getSettings()  : Result<string|int, array<string|int, mixed>>
isLoad()  : bool
load()  : BaseSettings
toRestFormat()  : array<string|int, mixed>|null
Returns an array in JSON like format to return the entity as a rest response.
updateSetting()  : void
updateSimpleSettings()  : Notify

Methods

__construct()

public __construct(int|null $groupId) : mixed
Parameters
$groupId : int|null

fillDataBase()

public fillDataBase([bool $isSimpleSchema = false ][, array{} $simpleSchema = [] ]) : $this
Parameters
$isSimpleSchema : bool = false
$simpleSchema : array{} = []
Return values
$this

getRestEntityName()

Returns the name of the entity that will be used in the rest response

public static getRestEntityName() : string
Return values
string

getSettings()

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

toRestFormat()

Returns an array in JSON like format to return the entity as a rest response.

public toRestFormat([array<string|int, mixed> $option = [] ]) : array<string|int, mixed>|null
Parameters
$option : array<string|int, mixed> = []
Return values
array<string|int, mixed>|null

updateSetting()

public updateSetting(array{moduleId: string, name: string, type: string, value: bool} $settingConfiguration) : void
Parameters
$settingConfiguration : array{moduleId: string, name: string, type: string, value: bool}

updateSimpleSettings()

public updateSimpleSettings(array<string|int, mixed> $simpleSchema) : Notify
Parameters
$simpleSchema : array<string|int, mixed>
Return values
Notify

        
On this page

Search results