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

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

 __construct ($inputName, HttpRequest $request=null)
 getFiles (array $savedFiles=[], array $files=[])
 getMediaLib (array $files=null)
 getExisted (array $files=null)

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

static getFromContext ($inputName, array $savedFiles=array())
static checkAbsolutePath ($filePath)
static saveFile (array $file)

Защищенные члены

 getDeleted ()
 getPosted ()

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

 $request
 $inputName

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

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

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

◆ __construct()

__construct ( $inputName,
HttpRequest $request = null )

PostFiles constructor.

Аргументы
string$inputNameInput name.
HttpRequest | null$requestRequest.

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

Методы

◆ checkAbsolutePath()

checkAbsolutePath ( $filePath)
static
Аргументы
$filePath
Возвращает
array|null

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

◆ getDeleted()

getDeleted ( )
protected

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

◆ getExisted()

getExisted ( array $files = null)

Get existed files.

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

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

◆ getFiles()

getFiles ( array $savedFiles = [],
array $files = [] )

Get files.

Аргументы
array$savedFilesSaved files.
array$filesTemporary files or files from media lib.
Возвращает
array

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

◆ getFromContext()

getFromContext ( $inputName,
array $savedFiles = array() )
static

Get posted files from context.

Аргументы
string$inputNameInput name.
array$savedFilesSaved files.
Возвращает
array

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

◆ getMediaLib()

getMediaLib ( array $files = null)

Get media lib files.

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

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

◆ getPosted()

getPosted ( )
protected

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

◆ saveFile()

saveFile ( array $file)
static

Save file.

Аргументы
array$fileFile data.
Возвращает
int|null

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

Поля

◆ $inputName

$inputName
protected

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

◆ $request

$request
protected

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


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