method
public
Base::getId()
Сигнатура
public getId() : mixed
Возвращаемое значение
mixed
Как применяется в Base
Base::getId() — метод класса \Bitrix\Sale\Delivery\ExtraServices\Base модуля «Интернет-магазин».
Метод объекта: сначала нужен экземпляр Base.
use Bitrix\Main\Loader;
use Bitrix\Sale\Delivery\ExtraServices\Base;
Loader::includeModule('sale');
/** @var Base $object */
$result = $object->getId();
// $result: mixedДругие методы Base
canManagerEditValue()canUserEditValue()getAdminDefaultControl()getAdminParamsControl()getClassTitle()getCode()getCost()getCostShipment()getDescription()getDisplayValue()getEditControl()getInitial()
getId() есть и у других классов модуля «Интернет-магазин»: Automatic, AutomaticProfile, Base, BasketItem, BasketItemBase, BasketPropertyItem, BasketPropertyItemBase, Checkbox.
Исходный файл: source/sale/lib/delivery/extra_services/base.php:222

