UserFieldCollection
Collection of user field settings.
class Bitrix\Rpa\UserField\UserFieldCollection implements \Iterator, \ArrayAccess, \Countable
Methods
Method | Description | Available from version |
---|---|---|
public function __construct(array $fields, array $visibility = [], array $defaultVisibility = null) |
Constructor.
|
|
public function getByName(string $fieldName): ?UserField |
Returns user field object by its code. | |
public function toArray(): array |
Returns array of descriptions for all collection user fields. |
© «Bitrix24», 2001-2024