Switcher
extends Field
Table of Contents
Constants
-
TYPE
= 'switcher'
Methods
-
__construct()
: mixed
-
getHelpDesk()
: string|null
-
getHints()
: array<string|int, mixed>|null
-
getId()
: string
-
getLabel()
: string
-
getName()
: string
-
getPermission()
: SettingsPermission|null
-
getType()
: string
-
getValue()
: string|null
-
isEnable()
: bool
-
jsonSerialize()
: array<string|int, mixed>
-
setHelpDesk()
: void
-
setHints()
: void
-
setId()
: void
-
setIsEnable()
: void
-
setLabel()
: void
-
setName()
: void
-
setPermission()
: void
-
setType()
: void
-
setValue()
: void
TYPE
public
mixed
TYPE
= 'switcher'
__construct()
public
__construct(string $id, string $name, string $label[, string|null $value = null ][, array<string|int, mixed>|null $hints = null ][, SettingsPermission|null $permission = null ][, bool $isEnable = true ][, string|null $helpDesk = null ]) : mixed
Parameters
-
$id
: string
-
-
$name
: string
-
-
$label
: string
-
-
$value
: string|null
= null
-
-
$hints
: array<string|int, mixed>|null
= null
-
-
$permission
: SettingsPermission|null
= null
-
-
$isEnable
: bool
= true
-
-
$helpDesk
: string|null
= null
-
getHelpDesk()
public
getHelpDesk() : string|null
Return values
string|null
getHints()
public
getHints() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
getId()
public
getId() : string
getLabel()
public
getLabel() : string
getName()
public
getName() : string
getPermission()
public
getPermission() : SettingsPermission|null
getType()
public
getType() : string
getValue()
public
getValue() : string|null
Return values
string|null
isEnable()
public
isEnable() : bool
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
setHelpDesk()
public
setHelpDesk(string|null $helpDesk) : void
Parameters
-
$helpDesk
: string|null
-
setHints()
public
setHints(array<string|int, mixed>|null $hints) : void
Parameters
-
$hints
: array<string|int, mixed>|null
-
setId()
public
setId(string $id) : void
Parameters
-
$id
: string
-
setIsEnable()
public
setIsEnable(bool $isEnable) : void
Parameters
-
$isEnable
: bool
-
setLabel()
public
setLabel(string $label) : void
Parameters
-
$label
: string
-
setName()
public
setName(string $name) : void
Parameters
-
$name
: string
-
setPermission()
public
setPermission(SettingsPermission|null $permission) : void
Parameters
-
$permission
: SettingsPermission|null
-
setType()
public
setType(string $type) : void
Parameters
-
$type
: string
-
setValue()
public
setValue(string|null $value) : void
Parameters
-
$value
: string|null
-