UserField implements ArrayAccess
Table of Contents
Interfaces
- ArrayAccess
Methods
- __construct() : mixed
- getName() : string
- getSettings() : array<string|int, mixed>|null
- getTitle() : string
- getUserTypeId() : string
- isAvailableOnCreate() : bool
- isBaseTypeBoolean() : bool
- isBaseTypeDate() : bool
- isBaseTypeFile() : bool
- isBaseTypeNumerical() : bool
- isEditable() : bool
- isKanbanVisible() : bool
- isMandatory() : bool
- Returns true if this field is mandatory in visibility settings
- isMandatoryByDefault() : bool
- Returns true if this field is mandatory in common settings
- isMultiple() : bool
- isValueEmpty() : bool
- isVisible() : bool
- offsetExists() : mixed
- offsetGet() : mixed
- offsetSet() : mixed
- offsetUnset() : mixed
- prepareNullValue() : mixed
- toArray() : array<string|int, mixed>
Methods
__construct()
public
__construct(array<string|int, mixed> $data, array<string|int, mixed> $visibility) : mixed
Parameters
- $data : array<string|int, mixed>
- $visibility : array<string|int, mixed>
getName()
public
getName() : string
Return values
stringgetSettings()
public
getSettings() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetTitle()
public
getTitle() : string
Return values
stringgetUserTypeId()
public
getUserTypeId() : string
Return values
stringisAvailableOnCreate()
public
isAvailableOnCreate() : bool
Return values
boolisBaseTypeBoolean()
public
isBaseTypeBoolean() : bool
Return values
boolisBaseTypeDate()
public
isBaseTypeDate() : bool
Return values
boolisBaseTypeFile()
public
isBaseTypeFile() : bool
Return values
boolisBaseTypeNumerical()
public
isBaseTypeNumerical() : bool
Return values
boolisEditable()
public
isEditable() : bool
Return values
boolisKanbanVisible()
public
isKanbanVisible() : bool
Return values
boolisMandatory()
Returns true if this field is mandatory in visibility settings
public
isMandatory() : bool
Return values
boolisMandatoryByDefault()
Returns true if this field is mandatory in common settings
public
isMandatoryByDefault() : bool
Return values
boolisMultiple()
public
isMultiple() : bool
Return values
boolisValueEmpty()
public
isValueEmpty(mixed $fieldValue) : bool
Parameters
- $fieldValue : mixed
Return values
boolisVisible()
public
isVisible() : bool
Return values
booloffsetExists()
public
offsetExists(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : mixed
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : mixed
Parameters
- $offset : mixed
prepareNullValue()
public
prepareNullValue(mixed $value) : mixed
Parameters
- $value : mixed
toArray()
public
toArray() : array<string|int, mixed>