UserField
Class provides interface for handling user field settings.
class Bitrix\Rpa\UserField\UserField implements \ArrayAccess
Methods
Method | Description | Available from version |
---|---|---|
public function __construct(array $data, array $visibility) |
Constructor.
|
|
public function getName(): string |
Returns field code. | |
public function getTitle(): string |
Returns field name. | |
public function toArray(): array |
Returns array with full field description. | |
public function getUserTypeId(): string |
Returns type's string ID. | |
public function getSettings(): ?array |
Returns array with field description. | |
public function isVisible(): bool |
Returns true , when field is available from viewing. |
|
public function isEditable(): bool |
Returns true , when field is available for modifying. |
|
public function isMandatory(): bool |
Returns true , when field is a required field according to [link=fieldtable]field settings[/link]. |
|
public function isMandatoryByDefault(): bool |
Returns true , when field is a required field according to general field settings. |
|
public function isMultiple(): bool |
Returns true , when field is a boolean type. |
|
public function isKanbanVisible(): bool |
Returns true , when field must be displayed in kanban details card. |
|
public function isAvailableOnCreate(): bool |
Returns true when field must be available in quick creation form. |
|
public function isBaseTypeFile(): bool |
Returns true when field is a file. |
|
public function isBaseTypeDate(): bool |
Returns true when field is a date. |
© «Bitrix24», 2001-2024