• Модуль: imopenlines
  • Путь к файлу: ~/bitrix/modules/imopenlines/lib/config.php
  • Класс: BitrixImOpenLinesConfig
  • Вызов: Config::getOptionList
static function getOptionList()
{
	$list = [];
	$orm = ModelConfigTable::getList([
		'select' => ['ID', 'NAME' => 'LINE_NAME'],
		'filter' => ['=ACTIVE' => 'Y'],
		'cache' => ['ttl' => 86400],
		'order' => ['LINE_NAME' => 'ASC'],
	]);
	while ($config = $orm->fetch())
	{
		$list[] = $config;
	}

	return $list;
}