• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/dbresult.php
  • Класс: CAllDBResult
  • Вызов: CAllDBResult::InitFromArray
public function InitFromArray($arr)
{
	if (is_array($arr))
	{
		reset($arr);
		$this->nSelectedCount = count($arr);
	}
	else
	{
		$this->nSelectedCount = false;
	}

	$this->arResult = $arr;
	$this->bFromArray = true;
}