Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс ArchiveEntry

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

 __toString ()
 

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

static createFromFilePath ($filePath)
 
static createFromFileId ($fileId)
 

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

 __construct ()
 
 encodeUrn ($uri)
 

Защищенные статические члены

static createFromFile (array $fileArray)
 

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

 $name
 
 $path
 
 $fileId
 
 $size
 

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

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

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

◆ __construct()

__construct ( )
protected

Entry constructor.

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

Методы

◆ __toString()

__toString ( )

Returns representation zip entry as string.

Возвращает
string

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

◆ createFromFile()

static createFromFile ( array $fileArray)
staticprotected

Creates Entry from file array.

Аргументы
array$fileArrayFile id from b_file.
Возвращает
static

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

◆ createFromFileId()

static createFromFileId ( $fileId)
static

Creates Entry from file id (from b_file).

Аргументы
int$fileIdFile id from b_file.
Возвращает
static

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

◆ createFromFilePath()

static createFromFilePath ( $filePath)
static

Creates Entry from file path.

Аргументы
string$filePathFile id from b_file.
Возвращает
static

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

◆ encodeUrn()

encodeUrn ( $uri)
protected

Encodes uri: explodes uri by / and encodes in UTF-8 and rawurlencodes.

Аргументы
string$uriUri.
Возвращает
string

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

Данные класса

◆ $fileId

$fileId
protected

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

◆ $name

$name
protected

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

◆ $path

$path
protected

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

◆ $size

$size
protected

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