method
public
static
Quantity::isEmbeddedOnly()
Сигнатура
public static isEmbeddedOnly() : mixed
Возвращаемое значение
mixed
Как применяется в Quantity
Quantity::isEmbeddedOnly() — метод класса \Bitrix\Sale\Delivery\ExtraServices\Quantity модуля «Интернет-магазин».
Статический метод — вызывается через имя класса Quantity, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Sale\Delivery\ExtraServices\Quantity;
Loader::includeModule('sale');
$result = Quantity::isEmbeddedOnly();
// $result: mixedДругие методы Quantity
canManagerEditValue()canUserEditValue()getAdminDefaultControl()getAdminParamsControl()getAdminParamsName()getClassTitle()getCode()getCost()getCostShipment()getDescription()getDisplayValue()getEditControl()
isEmbeddedOnly() есть и у других классов модуля «Интернет-магазин»: Base, Checkbox, Enum, Store.
Исходный файл: source/sale/lib/delivery/extra_services/quantity.php:242

