• Модуль: intranet
  • Путь к файлу: ~/bitrix/modules/intranet/lib/binding/map/mapsection.php
  • Класс: BitrixIntranetBindingMapMapSection
  • Вызов: MapSection::add
public function add(MapItem $item): self
{
	if ($this->has($item))
	{
		throw new ArgumentException('A MapItem with the same code already exists in the section');
	}

	$this->items[$item->getCode()] = $item;

	return $this;
}