method public static

EitherYN::getEditHtmlInsert()

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

Сигнатура

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

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

EitherYN::getEditHtmlInsert() — метод класса \Bitrix\Sale\Internals\Input\EitherYN модуля «Интернет-магазин». EitherYN: Либо Y, либо N.

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

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

Loader::includeModule('sale');

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

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

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

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

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