method public static

Location::getEditHtml()

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

Сигнатура

public static getEditHtml(mixed $name, array<string|int, mixed> $input[, mixed $value = null ]) : mixed

Параметры

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

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

mixed

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

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

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

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

Loader::includeModule('sale');

$name = null;
$input = [];
$result = Location::getEditHtml($name, $input);
// $result: mixed

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

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

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

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