• Модуль: socialnetwork
  • Путь к файлу: ~/bitrix/modules/socialnetwork/lib/component/loglist.php
  • Класс: BitrixSocialnetworkComponentLogList
  • Вызов: LogList::getEntriesData
protected function getEntriesData(&$result): void
{
	$result['arLogTmpID'] = [];

	$processorInstance = $this->getProcessorInstance();
	$logPageProcessorInstance = $this->getLogPageProcessorInstance();
	if (
		!$processorInstance
		|| !$logPageProcessorInstance
	)
	{
		return;
	}

	$params = $this->arParams;

	if (empty($result['RETURN_EMPTY_LIST']))
	{
		$queryResultData = $this->getEntryIdList($result);

		if (
			$queryResultData['countAll'] < (int)$params['PAGE_SIZE']
			&& !empty($processorInstance->getFilterKey('>=LOG_UPDATE'))
		)
		{
			$result['arLogTmpID'] = [];
			$processorInstance->setEventsList([]);

			$logPageProcessorInstance->setDateLastPageStart(null);
			$processorInstance->unsetFilterKey('>=LOG_UPDATE');
			$this->getEntryIdList($result);
		}
	}

	$this->getPinnedIdList($result);
}