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

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

 getName ()
 
 setName ($name)
 
 getPath ()
 
 getSize ()
 
 getCrc32 ()
 
 __toString ()
 

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

static createFromFilePath ($filePath, $name=null)
 
static createFromFileId ($fileId, $moduleId=null)
 

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

 __construct ()
 

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

static createFromFile (array $fileArray, $name=null)
 
static getDocRoot ()
 

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

 $name
 
 $path
 
 $size
 
 $crc32
 

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

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

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

◆ __construct()

__construct ( )
protected

Entry constructor.

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

Методы

◆ __toString()

__toString ( )

Returns representation zip entry as string.

Возвращает
string

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

◆ createFromFile()

static createFromFile ( array $fileArray,
$name = null )
staticprotected

Creates Entry from file array.

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

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

◆ createFromFileId()

static createFromFileId ( $fileId,
$moduleId = null )
static

Creates Entry from file id (from b_file).

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

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

◆ createFromFilePath()

static createFromFilePath ( $filePath,
$name = null )
static

Creates Entry from file path.

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

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

◆ getCrc32()

getCrc32 ( )
Возвращает
string

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

◆ getDocRoot()

static getDocRoot ( )
staticprotected

Famous document root.

Возвращает
string

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

◆ getName()

getName ( )

Gets name of current file.

Возвращает
string

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

◆ getPath()

getPath ( )

Gets full path of current file.

Возвращает
string

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

◆ getSize()

getSize ( )

Gets size of current file.

Возвращает
int

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

◆ setName()

setName ( $name)
Аргументы
string$name
Возвращает
ArchiveEntry

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

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

◆ $crc32

$crc32
protected

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

◆ $name

$name
protected

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

◆ $path

$path
protected

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

◆ $size

$size
protected

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