method public static

CFile::InputFile()

Класс: \CFile

Сигнатура

public static InputFile(mixed $strFieldName, mixed $int_field_size, mixed $strImageID[, mixed $strImageStorePath = false ][, mixed $int_max_file_size = 0 ][, mixed $strFileType = "IMAGE" ][, mixed $field_file = "class=typefile" ][, mixed $description_size = 0 ][, mixed $field_text = "class=typeinput" ][, mixed $field_checkbox = "" ][, mixed $bShowNotes = true ][, mixed $bShowFilePath = true ]) : mixed

Параметры

$strFieldName mixed
$int_field_size mixed
$strImageID mixed
$strImageStorePath mixed = false
$int_max_file_size mixed = 0
$strFileType mixed = "IMAGE"
$field_file mixed = "class=typefile"
$description_size mixed = 0
$field_text mixed = "class=typeinput"
$field_checkbox mixed = ""
$bShowNotes mixed = true
$bShowFilePath mixed = true

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

mixed

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

CFile::InputFile() — метод класса \CFile старого API 1С-Битрикс (без пространства имён).

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

$strFieldName = null;
$int_field_size = null;
$strImageID = null;
$result = \CFile::InputFile($strFieldName, $int_field_size, $strImageID);
// $result: mixed

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

Исходный файл: source/main/classes/general/file.php:1380

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