CAllCrmLead::PrepareEntityAttrs

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CAllCrmLead
  4. PrepareEntityAttrs
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_lead.php
  • Класс: \CAllCrmLead
  • Вызов: CAllCrmLead::PrepareEntityAttrs
private function PrepareEntityAttrs(&$arEntityAttr, $entityPermType)
{
	// Ensure that entity accessable for user restricted by BX_CRM_PERM_OPEN
	if($entityPermType === BX_CRM_PERM_OPEN && !in_array('O', $arEntityAttr, true))
	{
		$arEntityAttr[] = 'O';
	}
}

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