• Модуль: translate
  • Путь к файлу: ~/bitrix/modules/translate/lib/index/fileindexsearch.php
  • Класс: BitrixTranslateIndexFileIndexSearch
  • Вызов: FileIndexSearch::getList
static function getList($params): MainORMQueryResult
{
	[$select, $runtime, $filter] = self::processParams($params);

	$executeParams = [
		'select' => array_merge(
			[
				'PATH_ID' => 'ID',
				'PATH' => 'PATH',
				'IS_LANG' => 'IS_LANG',
				'IS_DIR' => 'IS_DIR',
				'TITLE' => 'NAME',
			],
			$select
		),
		'runtime' => $runtime,
		'filter' => $filter,
	];

	if (isset($params['order']))
	{
		$executeParams['order'] = $params['order'];
	}
	if (isset($params['offset']))
	{
		$executeParams['offset'] = $params['offset'];
	}
	if (isset($params['limit']))
	{
		$executeParams['limit'] = $params['limit'];
	}
	if (isset($params['count_total']))
	{
		$executeParams['count_total'] = true;
	}

	return IndexInternalsPathIndexTable::getList($executeParams);
}