method public static

Date::getEditHtmlSingle()

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

Сигнатура

public static getEditHtmlSingle(mixed $name, array<string|int, mixed> $input, mixed $value) : string

Параметры

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

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

string

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

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

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

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

Loader::includeModule('sale');

$name = null;
$input = [];
$value = null;
$result = Date::getEditHtmlSingle($name, $input, $value);
// $result: string

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

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

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

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