• Модуль: mobile
  • Путь к файлу: ~/bitrix/modules/mobile/lib/component/loglist/page.php
  • Класс: BitrixMobileComponentLogListPage
  • Вызов: Page::preparePrevPageLogId
public function preparePrevPageLogId()
{
	$request = $this->getRequest();

	if ($request->get('pplogid') == '')
	{
		return;
	}

	$prevPageLogIdList = explode('|', trim($request->get('pplogid')));
	if (!is_array($prevPageLogIdList))
	{
		return;
	}

	foreach($prevPageLogIdList as $key => $val)
	{
		preg_match('/^(d+)$/', $val, $matches);
		if (count($matches) <= 0)
		{
			unset($prevPageLogIdList[$key]);
		}
	}
	$prevPageLogIdList = array_unique($prevPageLogIdList);

	$this->setPrevPageLogIdList($prevPageLogIdList);
}