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
TYPE_GLOBAL
public
mixed
TYPE_GLOBAL
= 2
TYPE_USER
public
mixed
TYPE_USER
= 1
__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
-
get()
public
get() : mixed
remove()
public
remove() : mixed
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
-
setOptionName()
public
setOptionName(mixed $name) : mixed
Parameters
-
$name
: mixed
-
setUserId()
public
setUserId(int $userId) : static
Parameters
-
$userId
: int
-