Bitrix API

MessageParameter

Table of Contents

Methods

addValue()  : static
getDefaultValue()  : mixed|null
getMessageId()  : int|null
getName()  : string|null
getType()  : string
getValue()  : mixed|null
hasValue()  : bool
isDeleted()  : bool
isHidden()  : bool
isValid()  : Result
setMessageId()  : self
setName()  : $this
setType()  : $this
setValue()  : static
toPullFormat()  : string|array<string|int, mixed>|null
toRestFormat()  : string|array<string|int, mixed>|null
unsetValue()  : static

Methods

addValue()

public addValue(mixed $value) : static
Parameters
$value : mixed
Return values
static

getDefaultValue()

public getDefaultValue() : mixed|null
Return values
mixed|null

setMessageId()

public setMessageId(int $messageId) : self
Parameters
$messageId : int
Return values
self

setName()

public setName(string $name) : $this
Parameters
$name : string
Tags
see
Params

for common names.

Return values
$this

setType()

public setType(string $type) : $this
Parameters
$type : string
Tags
see
Param

for scalar papam types.

Return values
$this

setValue()

public setValue(mixed $value) : static
Parameters
$value : mixed
Return values
static

toPullFormat()

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

toRestFormat()

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

        
On this page

Search results