method public static

Location::getEditHtmlSingle()

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

Сигнатура

public static getEditHtmlSingle(mixed $name, array<string|int, mixed> $input, mixed $value) : string

Параметры

$name mixed
$input array<string|int, mixed>
$value mixed

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

string

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

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

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

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

Loader::includeModule('sale');

$name = null;
$input = [];
$value = null;
$result = Location::getEditHtmlSingle($name, $input, $value);
// $result: string

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

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

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

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