• Модуль: socialnetwork
  • Путь к файлу: ~/bitrix/modules/socialnetwork/lib/component/loglist/counter.php
  • Класс: Bitrix\Socialnetwork\Component\LogList\Counter
  • Вызов: Counter::__construct
public function __construct($params)
{
	if (!empty($params['component']))
	{
		$this->component = $params['component'];
	}
	if (!empty($params['processorInstance']))
	{
		$this->processorInstance = $params['processorInstance'];
	}
	if (!empty($params['request']))
	{
		$this->request = $params['request'];
	}
	else
	{
		$this->request = Util::getRequest();
	}
}