Bitrix API

ArrayOption

Table of Contents

Constants

TYPE_GLOBAL  = 2
TYPE_USER  = 1

Methods

__construct()  : mixed
check()  : mixed
get()  : mixed
remove()  : mixed
removeForAllUsers()  : mixed
set()  : mixed
setIsCommon()  : static
setOptionName()  : mixed
setUserId()  : static

Constants

Methods

__construct()

public __construct([mixed $optionName = '' ][, mixed $rules = array() ][, mixed $type = null ]) : mixed
Parameters
$optionName : mixed = ''
$rules : mixed = array()
$type : mixed = null

check()

public check(mixed $value[, mixed $initial = false ]) : mixed
Parameters
$value : mixed
$initial : mixed = false

removeForAllUsers()

public removeForAllUsers() : mixed

set()

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

setIsCommon()

public setIsCommon([bool $isCommon = true ]) : static
Parameters
$isCommon : bool = true
Return values
static

setOptionName()

public setOptionName(mixed $name) : mixed
Parameters
$name : mixed

setUserId()

public setUserId(int $userId) : static
Parameters
$userId : int
Return values
static

        
On this page

Search results