• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/integration/report/dashboard/dashboardmanager.php
  • Класс: BitrixCatalogIntegrationReportDashboardDashboardManager
  • Вызов: DashboardManager::getActiveViewList
public function getActiveViewList(): array
{
	if (!self::checkAccessRights())
	{
		return [];
	}

	$viewList = [];

	/** @var CatalogDashboard $dashboard */
	foreach ($this->getAllowedDashboards() as $dashboard)
	{
		array_push($viewList, ...$dashboard->getActiveViewList());
	}
	return $viewList;
}