• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/routing/router.php
  • Класс: BitrixMainRoutingRouter
  • Вызов: Router::releaseRoutes
public function releaseRoutes()
{
	// go recursively through routes tree
	$i = -1;
	while (isset($this->configurations[++$i]))
	{
		$this->routes = array_merge($this->routes, $this->configurations[$i]->release());
	}

	// reindex
	$this->reindexRoutes();

	// don't need them anymore
	$this->configurations = [];
}