• Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/block/designer.php
  • Класс: BitrixLandingBlockDesigner
  • Вызов: Designer::getRepo
static function getRepo(): array
{
	static $repo = [];

	if ($repo)
	{
		return $repo;
	}

	$res = DesignerRepo::getList([
		'order' => [
			'SORT' => 'asc'
		]
	]);
	while ($row = $res->fetch())
	{
		$repo[] = $row;
	}

	return $repo;
}