method public static

Base::getViewHtml()

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

Сигнатура

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

Параметры

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

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

mixed

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

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

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

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

Loader::includeModule('sale');

$input = [];
$result = Base::getViewHtml($input);
// $result: mixed

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

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

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

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