• Модуль: socialnetwork
  • Путь к файлу: ~/bitrix/modules/socialnetwork/lib/component/loglist/processor.php
  • Класс: BitrixSocialnetworkComponentLogListProcessor
  • Вызов: Processor::processNextPageSize
public function processNextPageSize(&$result): void
{
	$request = $this->getRequest();
	$params = $this->getComponent()->arParams;
	$filter = $this->getFilter();

	$result['NEXT_PAGE_SIZE'] = 0;

	if (
		isset($filter['>=LOG_UPDATE'])
		&& count($result['arLogTmpID']) < $params['PAGE_SIZE']
	)
	{
		$result['NEXT_PAGE_SIZE'] = count($result['arLogTmpID']);
	}
	elseif ((int)$request->get('pagesize') > 0)
	{
		$result['NEXT_PAGE_SIZE'] = (int)$request->get('pagesize');
	}
}