method public static

File::getEditHtmlInsert()

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

Сигнатура

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

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

File::getEditHtmlInsert() — метод класса \Bitrix\Sale\Internals\Input\File модуля «Интернет-магазин». File: Файл Необходимо использовать: File::getPostWithFiles перед использованием этого типа!.

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

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

Loader::includeModule('sale');

$tag = null;
$replace = null;
$name = null;
$sample = null;
$after = null;
$result = File::getEditHtmlInsert($tag, $replace, $name, $sample, $after);
// $result: mixed

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

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

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

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