CCrmActivityDirection::PrepareListItems

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmActivityDirection
  4. PrepareListItems
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_activity.php
  • Класс: \CCrmActivityDirection
  • Вызов: CCrmActivityDirection::PrepareListItems
static function PrepareListItems($typeID)
{
	$typeID = intval($typeID);
	$all = self::GetAllDescriptions($typeID);

	return array(
		array('text' => $all[self::Incoming], 'value' => strval(self::Incoming)),
		array('text' => $all[self::Outgoing], 'value' => strval(self::Outgoing)),
	);
}

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