• Модуль: salescenter
  • Путь к файлу: ~/bitrix/modules/salescenter/lib/integration/landingmanager.php
  • Класс: BitrixSalesCenterIntegrationLandingManager
  • Вызов: LandingManager::getConnectedWebForms
public function getConnectedWebForms(): array
{
	if ($this->connectedWebForms === null)
	{
		$this->connectedWebForms = [];
		$landings = $this->getLandings();
		$blocks = LandingSubtypeForm::getLandingFormBlocks(array_keys($landings));
		foreach ($blocks as $block)
		{
			$formId = LandingSubtypeForm::getFormByBlock((int)$block['ID']);
			if ($formId)
			{
				$this->connectedWebForms[] = [
					'blockId' => (int)$block['ID'],
					'formId' => (int)$formId,
					'landingId' => (int)$block['LID'],
				];
			}
		}
	}

	return $this->connectedWebForms;
}