method
public
Shipment::getErrorEntity()
Класс: \Bitrix\Sale\Shipment
Сигнатура
public getErrorEntity(mixed $value) : string
Параметры
$value
mixed
Возвращаемое значение
string
Как применяется в Shipment
Shipment::getErrorEntity() — метод класса \Bitrix\Sale\Shipment модуля «Интернет-магазин».
Метод объекта: сначала нужен экземпляр Shipment.
use Bitrix\Main\Loader;
use Bitrix\Sale\Shipment;
Loader::includeModule('sale');
/** @var Shipment $object */
$value = null;
$result = $object->getErrorEntity($value);
// $result: stringДругие методы Shipment
allowDelivery()calculateDelivery()canAutoFixError()canMarked()clearStartField()create()delete()Удаляет отгрузкуdeliver()disallowDelivery()doFinalAction()fixReserveErrors()fixShipErrors()
getErrorEntity() есть и у других классов модуля «Интернет-магазин»: ShipmentCollection, ShipmentItem, ShipmentItemCollection, ShipmentItemStore, ShipmentItemStoreCollection.
Исходный файл: source/sale/lib/shipment.php:2497

