• Модуль: translate
  • Путь к файлу: ~/bitrix/modules/translate/lib/index/pathindexcollection.php
  • Класс: BitrixTranslateIndexPathIndexCollection
  • Вызов: PathIndexCollection::countItemsToProcess
public function countItemsToProcess(TranslateFilter $filter = null): int
{
	if (isset($filter, $filter->path))
	{
		$relPath = '/'. trim($filter->path, '/');
		$totalItems = (int)IndexInternalsPathLangTable::getCount(['=%PATH' => $relPath .'%']);
	}
	else
	{
		$totalItems = (int)IndexInternalsPathLangTable::getCount();
	}

	return $totalItems;
}