BasePersonalize::getAssignedByFields

  1. Bitrix24 API (v. 23.675.0)
  2. sender
  3. BasePersonalize
  4. getAssignedByFields
  • Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/integration/crm/connectors/personalize/basepersonalize.php
  • Класс: Bitrix\Sender\Integration\Crm\Connectors\Personalize\BasePersonalize
  • Вызов: BasePersonalize::getAssignedByFields
static function getAssignedByFields()
{
	\Bitrix\Main\Localization\Loc::loadMessages(
		$_SERVER['DOCUMENT_ROOT'].BX_ROOT.'/modules/crm/classes/general/crm_document.php'
	);

	return [
		'ASSIGNED_BY.EMAIL'           => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_EMAIL'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.WORK_PHONE'      => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_WORK_PHONE'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.PERSONAL_MOBILE' => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_PERSONAL_MOBILE'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.UF_PHONE_INNER'  => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_UF_PHONE_INNER'),
			'Type' => 'string',
		],

		'ASSIGNED_BY.LOGIN'         => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_LOGIN'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.ACTIVE'        => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_ACTIVE'),
			'Type' => 'bool',
		],
		'ASSIGNED_BY.LAST_NAME'     => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_LAST_NAME'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.NAME'          => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_NAME'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.SECOND_NAME'   => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_SECOND_NAME'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.WORK_POSITION' => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_WORK_POSITION'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.PERSONAL_WWW'  => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_PERSONAL_WWW'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.PERSONAL_CITY' => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_PERSONAL_CITY'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.UF_SKYPE'      => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_UF_SKYPE'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.UF_TWITTER'    => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_UF_TWITTER'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.UF_FACEBOOK'   => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_UF_FACEBOOK'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.UF_LINKEDIN'   => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_UF_LINKEDIN'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.UF_XING'       => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_UF_XING'),
			'Type' => 'string',
		],
		'ASSIGNED_BY.UF_WEB_SITES'  => [
			'Name' => GetMessage('CRM_DOCUMENT_FIELD_ASSIGNED_BY_UF_WEB_SITES'),
			'Type' => 'string',
		],
	];
}

Добавить комментарий