CCrmLiveFeedComponent::formatFields

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmLiveFeedComponent
  4. formatFields
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/livefeed.php
  • Класс: \CCrmLiveFeedComponent
  • Вызов: CCrmLiveFeedComponent::formatFields
public function formatFields()
{
	$arReturn = array();

	if ($this->entityTypeID == CCrmOwnerType::Activity)
	{
		foreach($this->eventMeta[$this->activity["TYPE_ID"]] as $key => $arValue)
		{
			$arReturn[$key] = $this->formatField($key, $arValue);
		}
	}
	else
	{
		foreach($this->eventMeta[$this->fields["EVENT_ID"]] as $key => $arValue)
		{
			$arReturn[$key] = $this->formatField($key, $arValue);
		}
	}

	return $arReturn;
}

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