method
public
static
ConcreteProduct::getEditHtmlInsert()
Сигнатура
public static getEditHtmlInsert(mixed $tag, mixed $replace, mixed $name, mixed $sample, mixed $after) : mixed
Параметры
$tag
mixed
$replace
mixed
$name
mixed
$sample
mixed
$after
mixed
Возвращаемое значение
mixed
Как применяется в ConcreteProduct
ConcreteProduct::getEditHtmlInsert() — метод класса \Bitrix\Sale\Internals\Input\ConcreteProduct модуля «Интернет-магазин».
Статический метод — вызывается через имя класса ConcreteProduct, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Sale\Internals\Input\ConcreteProduct;
Loader::includeModule('sale');
$tag = null;
$replace = null;
$name = null;
$sample = null;
$after = null;
$result = ConcreteProduct::getEditHtmlInsert($tag, $replace, $name, $sample, $after);
// $result: mixedДругие методы ConcreteProduct
asMultiple()asSingle()Получить одиночное значение.getEditHtml()Возвращает HTML-секцию для редактирования типа concreteProductgetEditHtmlSingle()getEditHtmlSingleAfterInsert()getEditHtmlSingleDelete()getError()getErrorSingle()getRequiredError()getSettings()getValue()getValueSingle()
getEditHtmlInsert() есть и у других классов модуля «Интернет-магазин»: Address, Base, ButtonSelector, Date, EitherYN, Enum, File, Location.
Исходный файл: source/sale/lib/internals/input.php:489

