Bitrix API

LegalInfo

Table of Contents

Constants

EDITOR_CONFIG_CATEGORY_NAME  = 'sign.legal.form.editor'
EDITOR_CONFIG_CONFIG_ID  = 'legal_info_form'
USER_FIELD_ENTITY_ID  = 'USER_LEGAL'

Methods

canAdd()  : bool
canDelete()  : bool
canEdit()  : bool
canView()  : bool
getElementsForEntityEditor()  : array<string|int, mixed>
onProfileConfigAdditionalBlocks()  : EventResult
unsetConfigForProfileEntityEditor()  : void

Constants

EDITOR_CONFIG_CATEGORY_NAME

public mixed EDITOR_CONFIG_CATEGORY_NAME = 'sign.legal.form.editor'

EDITOR_CONFIG_CONFIG_ID

public mixed EDITOR_CONFIG_CONFIG_ID = 'legal_info_form'

USER_FIELD_ENTITY_ID

public mixed USER_FIELD_ENTITY_ID = 'USER_LEGAL'

Methods

canAdd()

public static canAdd(int $userId) : bool
Parameters
$userId : int
Return values
bool

canDelete()

public static canDelete(int $userId) : bool
Parameters
$userId : int
Return values
bool

canEdit()

public static canEdit(int $userId) : bool
Parameters
$userId : int
Return values
bool

canView()

public static canView(int $userId) : bool
Parameters
$userId : int
Return values
bool

getElementsForEntityEditor()

public static getElementsForEntityEditor(mixed $userFields) : array<string|int, mixed>
Parameters
$userFields : mixed
Return values
array<string|int, mixed>

onProfileConfigAdditionalBlocks()

public static onProfileConfigAdditionalBlocks(Event $event) : EventResult
Parameters
$event : Event
Return values
EventResult

unsetConfigForProfileEntityEditor()

public static unsetConfigForProfileEntityEditor() : void

        
On this page

Search results