Custom::getTypes

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Custom
  4. getTypes
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/activity/provider/custom.php
  • Класс: Bitrix\Crm\Activity\Provider\Custom
  • Вызов: Custom::getTypes
static function getTypes()
{
	$results = array();
	foreach(CustomType::getAll() as $entry)
	{
		$results[] = array(
			'NAME' => $entry['NAME'],
			'PROVIDER_ID' => static::PROVIDER_ID,
			'PROVIDER_TYPE_ID' => (int)$results['ID'],
			'DIRECTIONS' => array()
		);
	}
	return $results;
}

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