• Модуль: rpa
  • Путь к файлу: ~/bitrix/modules/rpa/lib/components/base.php
  • Класс: BitrixRpaComponentsBase
  • Вызов: Base::setLastVisitedTypeId
protected function setLastVisitedTypeId(int $typeId, int $userId = null): Base
{
	if(!$userId)
	{
		$userId = false;
	}
	CUserOptions::SetOption(Driver::MODULE_ID, 'last_visited_type_id', $typeId, false, $userId);

	return $this;
}