CCrmReportManager::getOwnerInfo

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmReportManager
  4. getOwnerInfo
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_report_helper.php
  • Класс: \CCrmReportManager
  • Вызов: CCrmReportManager::getOwnerInfo
static function getOwnerInfo($ownerID)
{
	$ownerID = strval($ownerID);
	if($ownerID === '')
	{
		return null;
	}

	$infos = self::getOwnerInfos();
	foreach($infos as $info)
	{
		if($info['ID'] === $ownerID)
		{
			return $info;
		}
	}
	return null;
}

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