• Модуль: mail
  • Путь к файлу: ~/bitrix/modules/mail/lib/collection/immutable.php
  • Класс: BitrixMailCollectionImmutable
  • Вызов: Immutable::fromArray
static function fromArray(array $array)
{
	$collection = new static();
	foreach ($array as $row) {
		if ($item = $collection->createItem($row)) {
			$collection->appendItem($item);
		}
	}
	return $collection;
}