• Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/call/call.php
  • Класс: BitrixImCallCall
  • Вызов: Call::loadUsers
protected function loadUsers()
{
	if(is_array($this->users))
		return;

	$this->users = array();

	$cursor = CallUserTable::getList(array(
		'filter' => array(
			'=CALL_ID' => $this->id
		)
	));

	while($row = $cursor->fetch())
	{
		$this->users[$row['USER_ID']] = CallUser::create($row);
	}
}