• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/order/matcher/baseentitymatcher.php
  • Класс: Bitrix\Crm\Order\Matcher\BaseEntityMatcher
  • Вызов: BaseEntityMatcher::prepareFields
protected function prepareFields()
{
	$fields = [];

	if (!empty($this->properties[self::GENERAL_FIELD_TYPE]))
	{
		foreach ($this->properties[self::GENERAL_FIELD_TYPE] as $property)
		{
			if (!empty($property['CRM_FIELD_CODE']))
			{
				$this->prepareGeneralField($fields, $property);
			}
		}
	}

	if (!empty($this->properties[self::MULTI_FIELD_TYPE]))
	{
		foreach ($this->properties[self::MULTI_FIELD_TYPE] as $property)
		{
			if (!empty($property['CRM_FIELD_CODE']))
			{
				$this->prepareMultiField($fields, $property);
			}
		}
	}

	return $fields;
}