Call::getPlannerActions

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Call
  4. getPlannerActions
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/activity/provider/call.php
  • Класс: Bitrix\Crm\Activity\Provider\Call
  • Вызов: Call::getPlannerActions
static function getPlannerActions(array $params = null)
{
	if (!ActivitySettings::areOutdatedCalendarActivitiesEnabled())
	{
		return [];
	}

	return array(
		array(
			'ACTION_ID' => self::getId().'_'.self::ACTIVITY_PROVIDER_TYPE_CALL,
			'NAME' => Loc::getMessage('VOXIMPLANT_ACTIVITY_PROVIDER_CALL_PLANNER_ACTION_NAME'),
			'TYPE_ID' => CCrmActivityType::Call,
			'PROVIDER_ID' => self::getId(),
			'PROVIDER_TYPE_ID' => self::ACTIVITY_PROVIDER_TYPE_CALL
		)
	);
}

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