CCrmProductPropsHelper::GetUserTypeWhiteListByOperation

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmProductPropsHelper
  4. GetUserTypeWhiteListByOperation
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_productprops_helper.php
  • Класс: \CCrmProductPropsHelper
  • Вызов: CCrmProductPropsHelper::GetUserTypeWhiteListByOperation
static function GetUserTypeWhiteListByOperation()
{
	if (self::$whiteListByOperation === null)
	{
		self::$whiteListByOperation = array(
			self::OPERATION_VIEW => array(),
			self::OPERATION_EDIT => array(),
			self::OPERATION_FILTER => array(),
			self::OPERATION_IMPORT => array(
				'S:HTML',
				'S:Date',
				'S:DateTime',
				'S:employee',
				'S:map_yandex',
				'S:ECrm',
				'S:Money',
				'N:Sequence'
			),
			self::OPERATION_EXPORT => array(
				'S:HTML',
				'S:Date',
				'S:DateTime',
				'S:employee',
				'S:map_yandex',
				'S:ECrm',
				'S:Money',
				'N:Sequence'
			),
			self::OPERATION_REST => array(
				'S:HTML',
				'S:Date',
				'S:DateTime',
				'S:employee',
				'S:map_yandex',
				'S:ECrm',
				'S:Money',
				'E:EList',
				'N:Sequence'
			)
		);
	}

	return self::$whiteListByOperation;
}

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