1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс FileInput

Открытые члены

 __construct ($params=array())
 show ($values=array(), $getDataFromRequest=false)

Открытые статические члены

static createInstance ($params=array(), $hashIsID=true)
static prepareFile ($file)

Поля данных

const UPLOAD_IMAGES = 'I'
const UPLOAD_EXTENTION_LIST = 'F'
const UPLOAD_ANY_FILES = 'A'

Статические открытые данные

static $templatePatterns

Защищенные данные

 $elementSetts
 $uploadSetts
 $id = "bx_iblockfileprop"
 $files = array()
 $templates = array()

Статические защищенные данные

static $instance = null

Подробное описание

См. определение в файле fileinput.php строка 12

Конструктор(ы)

◆ __construct()

__construct ( $params = array())
Аргументы
array$params

См. определение в файле fileinput.php строка 191

Методы

◆ createInstance()

createInstance ( $params = array(),
$hashIsID = true )
static
Аргументы
array$params
bool$hashIsID
Возвращает
FileInput

См. определение в файле fileinput.php строка 292

◆ prepareFile()

prepareFile ( $file)
static

Prepares file array for saving. It is important to use if BX_TEMPORARY_FILES_DIRECTORY is defined.

Аргументы
$file
Возвращает
array|null

См. определение в файле fileinput.php строка 601

◆ show()

show ( $values = array(),
$getDataFromRequest = false )
Аргументы
array$values
Возвращает
string

См. определение в файле fileinput.php строка 302

Поля

◆ $elementSetts

$elementSetts
protected
Инициализатор
"name" => "FILE[n#IND#]",
"description" => true,
"delete" => true,
"edit" => true,
"thumbSize" => 640
)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804

См. определение в файле fileinput.php строка 18

◆ $files

$files = array()
protected

См. определение в файле fileinput.php строка 35

◆ $id

$id = "bx_iblockfileprop"
protected

См. определение в файле fileinput.php строка 34

◆ $instance

$instance = null
staticprotected

См. определение в файле fileinput.php строка 36

◆ $templatePatterns

$templatePatterns
static

См. определение в файле fileinput.php строка 39

◆ $templates

$templates = array()
protected

См. определение в файле fileinput.php строка 37

◆ $uploadSetts

$uploadSetts
protected
Инициализатор
"upload" => false,
"uploadType" => "path",
"medialib" => false,
"fileDialog" => false,
"cloud" => false,
"maxCount" => 0,
"maxSize" => 0
)

См. определение в файле fileinput.php строка 25

◆ UPLOAD_ANY_FILES

const UPLOAD_ANY_FILES = 'A'

См. определение в файле fileinput.php строка 16

◆ UPLOAD_EXTENTION_LIST

const UPLOAD_EXTENTION_LIST = 'F'

См. определение в файле fileinput.php строка 15

◆ UPLOAD_IMAGES

const UPLOAD_IMAGES = 'I'

См. определение в файле fileinput.php строка 14


Объявления и описания членов класса находятся в файле: