Pool::getEmails

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Pool
  4. getEmails
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/tracking/pool.php
  • Класс: Bitrix\Crm\Tracking\Pool
  • Вызов: Pool::getEmails
public function getEmails()
{
	$emails = Internals\PoolTable::getPoolItemsByTypeId(Communication\Type::EMAIL);

	$list = [];
	foreach ($emails as $email)
	{
		$list[] = [
			'NAME' => null,
			'VALUE' => $email,
			'CAN_REMOVE' => true
		];
	}

	return $list;
}

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