method public static

File::getValue()

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

Сигнатура

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

Параметры

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

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

mixed

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

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

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

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

Loader::includeModule('sale');

$input = [];
$value = null;
$result = File::getValue($input, $value);
// $result: mixed

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

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

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

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