method
public
static
DeliveryService::getConfig()
Сигнатура
public static getConfig(mixed $query, mixed $n, CRestServer $server) : array<string|int, mixed>
Параметры
$query
mixed
$n
mixed
$server
CRestServer
Возвращаемое значение
array<string|int, mixed>
Как применяется в DeliveryService
DeliveryService::getConfig() — метод класса \Bitrix\Sale\Delivery\Rest\DeliveryService модуля «Интернет-магазин».
Статический метод — вызывается через имя класса DeliveryService, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Sale\Delivery\Rest\DeliveryService;
Loader::includeModule('sale');
$query = null;
$n = null;
$server = null; // CRestServer
$result = DeliveryService::getConfig($query, $n, $server);
// $result: array<string|int, mixed>Другие методы DeliveryService
getConfig() есть и у других классов модуля «Интернет-магазин»: Automatic, AutomaticProfile, Base, Configurable, EmptyDeliveryService, Group.
Исходный файл: source/sale/lib/delivery/rest/deliveryservice.php:545

