CCrmExternalSaleImportResult::ToArray

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmExternalSaleImportResult
  4. ToArray
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_external_sale_import.php
  • Класс: \CCrmExternalSaleImportResult
  • Вызов: CCrmExternalSaleImportResult::ToArray
public function ToArray()
{
	return array(
		"CreatedDeals" => $this->numberOfCreatedDeals,
		"UpdatedDeals" => $this->numberOfUpdatedDeals,
		"TotalDeals" => $this->numberOfCreatedDeals + $this->numberOfUpdatedDeals,
		"CreatedContacts" => $this->numberOfCreatedContacts,
		"UpdatedContacts" => $this->numberOfUpdatedContacts,
		"TotalContacts" => $this->numberOfCreatedContacts + $this->numberOfUpdatedContacts,
		"CreatedCompanies" => $this->numberOfCreatedCompanies,
		"UpdatedCompanies" => $this->numberOfUpdatedCompanies,
		"TotalCompanies" => $this->numberOfCreatedCompanies + $this->numberOfUpdatedCompanies,
	);
}

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