• Модуль: rest
  • Путь к файлу: ~/bitrix/modules/rest/lib/configuration/appconfiguration.php
  • Класс: BitrixRestConfigurationAppConfiguration
  • Вызов: AppConfiguration::onEventExportController
static function onEventExportController(Event $event)
{
	$result = null;
	$code = $event->getParameter('CODE');
	if (
		!static::$entityList[$code]
		|| !Manifest::isEntityAvailable($code, $event->getParameters(), static::$accessManifest)
	)
	{
		return $result;
	}

	if (static::checkRequiredParams($code))
	{
		$step = $event->getParameter('STEP');
		$setting = $event->getParameter('SETTING');
		switch ($code)
		{
			case 'REST_APPLICATION':
				$result = static::exportApp($step, $setting);
				break;
		}
	}

	return $result;
}