Bitrix API

ScenarioOptionBuilder extends BaseBuilder

Table of Contents

Properties

$agreements  : mixed

Methods

__construct()  : mixed
addAgreements()  : $this
Add agreements to the prepared object.
addCallbackMode()  : $this
Use callback mode.
addCaptcha()  : $this
Add captcha to the prepared object.
addDealCategory()  : $this
Deal category.
addDealDuplicateMode()  : $this
Deal Duplicate mode
addDependency()  : ScenarioOptionBuilder
addDocumentScheme()  : $this
Document scheme version.
addDuplicateMode()  : $this
Duplicate mode.
addField()  : $this
Add field to be displayed on the web from page.
addFields()  : $this
Multiple adding fields to be displayed on the web form page.
addPresetField()  : $this
Adding preset fields.
addPresetSupport()  : $this
addRecaptcha()  : $this
Add recaptcha to the prepared object.
addResponsibleCheckWorkTimeMode()  : $this
Responsible check work time.
addResponsibleUsers()  : $this
Responsible users
addResult()  : $this
This block determining web form behaviour after it will be sent.
prepare()  : array<string|int, mixed>
Preparing web form options to built final scenario
setButtonCaption()  : $this
Add sending button caption
usePayment()  : $this

Properties

Methods

addAgreements()

Add agreements to the prepared object.

public addAgreements([bool $use = false ]) : $this
Parameters
$use : bool = false
Return values
$this

addCallbackMode()

Use callback mode.

public addCallbackMode(bool $use) : $this
Parameters
$use : bool
Return values
$this

addCaptcha()

Add captcha to the prepared object.

public addCaptcha([bool $use = false ]) : $this
Parameters
$use : bool = false
Return values
$this

addDealCategory()

Deal category.

public addDealCategory(int $category) : $this
Parameters
$category : int
Return values
$this

addDealDuplicateMode()

Deal Duplicate mode

public addDealDuplicateMode(bool $mode) : $this
Parameters
$mode : bool
Return values
$this

addDocumentScheme()

Document scheme version.

public addDocumentScheme(int $schemeVersion) : $this
Parameters
$schemeVersion : int
Return values
$this

addDuplicateMode()

Duplicate mode.

public addDuplicateMode(string $mode) : $this
Parameters
$mode : string
Return values
$this

addField()

Add field to be displayed on the web from page.

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

addFields()

Multiple adding fields to be displayed on the web form page.

public addFields([array<string|int, mixed> $fields = [] ]) : $this
Parameters
$fields : array<string|int, mixed> = []
Return values
$this

addPresetField()

Adding preset fields.

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

addRecaptcha()

Add recaptcha to the prepared object.

public addRecaptcha([bool $use = false ]) : $this
Parameters
$use : bool = false
Return values
$this

addResponsibleCheckWorkTimeMode()

Responsible check work time.

public addResponsibleCheckWorkTimeMode(bool $mode) : $this
Parameters
$mode : bool
Return values
$this

addResponsibleUsers()

Responsible users

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

addResult()

This block determining web form behaviour after it will be sent.

public addResult(string|null $successCaption, string|null $failureCaption[, bool $refill = false ]) : $this
Parameters
$successCaption : string|null
$failureCaption : string|null
$refill : bool = false
Return values
$this

prepare()

Preparing web form options to built final scenario

public prepare(array<string|int, mixed> &$options) : array<string|int, mixed>
Parameters
$options : array<string|int, mixed>
Return values
array<string|int, mixed>

setButtonCaption()

Add sending button caption

public setButtonCaption(string|null $caption) : $this
Parameters
$caption : string|null
Return values
$this

usePayment()

public usePayment([bool $use = false ]) : $this
Parameters
$use : bool = false
Return values
$this

        
On this page

Search results