• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/shipment.php
  • Класс: BitrixSaleShipment
  • Вызов: Shipment::getShipmentItemCollection
public function getShipmentItemCollection()
{
	if (empty($this->shipmentItemCollection))
	{
		$registry = Registry::getInstance(static::getRegistryType());

		/** @var ShipmentItemCollection $itemCollectionClassName */
		$itemCollectionClassName = $registry->getShipmentItemCollectionClassName();
		$this->shipmentItemCollection = $itemCollectionClassName::load($this);
	}

	return $this->shipmentItemCollection;
}