method public static

Location::getSettings()

Класс: \Bitrix\Sale\Internals\Input\Location

Сигнатура

public static getSettings(array<string|int, mixed> $input, mixed $reload) : mixed

Параметры

$input array<string|int, mixed>
$reload mixed

Возвращаемое значение

mixed

Как применяется в Location

Location::getSettings() — метод класса \Bitrix\Sale\Internals\Input\Location модуля «Интернет-магазин». Location: Местоположение.

Статический метод — вызывается через имя класса Location, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Sale\Internals\Input\Location;

Loader::includeModule('sale');

$input = [];
$reload = null;
$result = Location::getSettings($input, $reload);
// $result: mixed

Другие методы Location

getSettings() есть и у других классов модуля «Интернет-магазин»: Address, Base, ButtonSelector, ConcreteProduct, Date, EitherYN, Enum, File.

Исходный файл: source/sale/lib/internals/input.php:644

Что будем искать? Например,Продвижение