Bitrix API

LeadItem extends Item

Class LeadItem

Table of Contents

Methods

__call()  : mixed
Magic method __call.
__construct()  : mixed
Item constructor.
addAnswer()  : $this
Set answers.
get()  : string
Get source.
getAnswers()  : array<string|int, mixed>
getData()  : array<string|int, mixed>
Get data.
getFormId()  : string
getGroupId()  : string
getLeadId()  : string
getUserId()  : string
set()  : $this
Set source.
setAnswers()  : $this
setData()  : $this
Set data.
setFormId()  : $this
setGroupId()  : $this
setLeadId()  : $this
setUserId()  : $this

Methods

__call()

Magic method __call.

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

Name.

$arguments : array<string|int, mixed>

Arguments.

Tags
throws
ArgumentException

__construct()

Item constructor.

public __construct(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>

Data.

addAnswer()

Set answers.

public addAnswer(string $key, array<string|int, mixed> $values) : $this
Parameters
$key : string

Key.

$values : array<string|int, mixed>

Values.

Return values
$this

get()

Get source.

public get(mixed $key) : string
Parameters
$key : mixed
Tags
throws
ArgumentException
Return values
string

getAnswers()

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

getData()

Get data.

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

getFormId()

public getFormId() : string
Return values
string

getGroupId()

public getGroupId() : string
Return values
string

getLeadId()

public getLeadId() : string
Return values
string

getUserId()

public getUserId() : string
Return values
string

set()

Set source.

public set(string $key, string|array<string|int, mixed> $value) : $this
Parameters
$key : string

Key.

$value : string|array<string|int, mixed>

Value

Tags
throws
ArgumentException
Return values
$this

setAnswers()

public setAnswers(array<string|int, mixed> $answers) : $this
Parameters
$answers : array<string|int, mixed>
Return values
$this

setData()

Set data.

public setData(array<string|int, mixed> $data) : $this
Parameters
$data : array<string|int, mixed>

Data.

Return values
$this

setFormId()

public setFormId(string $formId) : $this
Parameters
$formId : string
Return values
$this

setGroupId()

public setGroupId(string $groupId) : $this
Parameters
$groupId : string
Return values
$this

setLeadId()

public setLeadId(string $leadId) : $this
Parameters
$leadId : string
Return values
$this

setUserId()

public setUserId(string $userId) : $this
Parameters
$userId : string
Return values
$this

        
On this page

Search results