CBPRestActivity::getAppPlacement

  1. Bitrix24 API (v. 23.675.0)
  2. bizproc
  3. CBPRestActivity
  4. getAppPlacement
  • Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/classes/general/restactivity.php
  • Класс: CBPRestActivity
  • Вызов: CBPRestActivity::getAppPlacement
static function getAppPlacement(int $appId, string $code): ?array
{
	$result = BitrixRestPlacementTable::getList([
		'filter' => [
			'=APP_ID' => $appId,
			'=ADDITIONAL' => $code,
			'=PLACEMENT' => BitrixBizprocRestService::PLACEMENT_ACTIVITY_PROPERTIES_DIALOG,
		],
	])->fetch();

	return $result ?: null;
}

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