Bitrix API

MultiControlString extends Base

Table of Contents

Constants

MULTITAG  = 'div'

Methods

addItem()  : mixed
asMultiple()  : mixed
asSingle()  : mixed
Get single value.
clean()  : mixed
getEditHtml()  : mixed
getEditHtmlInsert()  : mixed
getEditHtmlSingle()  : string
getEditHtmlSingleAfterInsert()  : mixed
getEditHtmlSingleDelete()  : mixed
getError()  : mixed
getErrorSingle()  : mixed
getKey()  : mixed
getParams()  : mixed
getRequiredError()  : array<string|int, mixed>
getSettings()  : mixed
getValue()  : mixed
getValueSingle()  : mixed
getViewHtml()  : mixed
getViewHtmlSingle()  : mixed
hasMultipleValuesSupport()  : bool
isClean()  : mixed
isMultiple()  : bool
Check if value is multiple.
setKey()  : mixed
setParams()  : mixed

Constants

MULTITAG

public mixed MULTITAG = 'div'

Methods

addItem()

public addItem(mixed $key, array<string|int, mixed> $control) : mixed
Parameters
$key : mixed
$control : array<string|int, mixed>

asMultiple()

public static asMultiple(mixed $value) : mixed
Parameters
$value : mixed

asSingle()

Get single value.

public static asSingle(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed
  • if value is multiple, get first meaningful value (which is not null)

getEditHtml()

public static getEditHtml(mixed $name, array<string|int, mixed> $input[, mixed $value = null ]) : mixed
Parameters
$name : mixed
$input : array<string|int, mixed>
$value : mixed = null

getEditHtmlInsert()

public static getEditHtmlInsert(mixed $tag, mixed $replace, mixed $name, mixed $sample, mixed $after) : mixed
Parameters
$tag : mixed
$replace : mixed
$name : mixed
$sample : mixed
$after : mixed

getEditHtmlSingle()

public static getEditHtmlSingle(mixed $name, array<string|int, mixed> $input, mixed $values) : string
Parameters
$name : mixed
$input : array<string|int, mixed>
$values : mixed
Return values
string

getEditHtmlSingleAfterInsert()

public static getEditHtmlSingleAfterInsert() : mixed

getEditHtmlSingleDelete()

public static getEditHtmlSingleDelete(mixed $name, array<string|int, mixed> $input) : mixed
Parameters
$name : mixed
$input : array<string|int, mixed>

getError()

public static getError(array<string|int, mixed> $input, mixed $value) : mixed
Parameters
$input : array<string|int, mixed>
$value : mixed
Tags
inherit

getErrorSingle()

public static getErrorSingle(array<string|int, mixed> $input, mixed $values) : mixed
Parameters
$input : array<string|int, mixed>
$values : mixed

getKey()

public getKey() : mixed

getParams()

public getParams() : mixed

getRequiredError()

public static getRequiredError(array<string|int, mixed> $input, mixed $value) : array<string|int, mixed>
Parameters
$input : array<string|int, mixed>
$value : mixed
Tags
inherit
Return values
array<string|int, mixed>

getSettings()

public static getSettings(array<string|int, mixed> $input, mixed $reload) : mixed
Parameters
$input : array<string|int, mixed>
$reload : mixed

getValue()

public static getValue(array<string|int, mixed> $input, mixed $value) : mixed
Parameters
$input : array<string|int, mixed>
$value : mixed

getValueSingle()

public static getValueSingle(array<string|int, mixed> $input, mixed $userValue) : mixed
Parameters
$input : array<string|int, mixed>
$userValue : mixed

getViewHtml()

public static getViewHtml(array<string|int, mixed> $input[, mixed $value = null ]) : mixed
Parameters
$input : array<string|int, mixed>
$value : mixed = null

getViewHtmlSingle()

public static getViewHtmlSingle(array<string|int, mixed> $input, mixed $values) : mixed
Parameters
$input : array<string|int, mixed>
$values : mixed

hasMultipleValuesSupport()

public static hasMultipleValuesSupport() : bool
Return values
bool

isClean()

public isClean() : mixed

isMultiple()

Check if value is multiple.

public static isMultiple(mixed $value) : bool
Parameters
$value : mixed
Return values
bool

setKey()

public setKey(mixed $key) : mixed
Parameters
$key : mixed

setParams()

public setParams(mixed $key, array<string|int, mixed> $params) : mixed
Parameters
$key : mixed
$params : array<string|int, mixed>

        
On this page

Search results