1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
directoryentry.php
См. документацию.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Main\Engine\Response\Zip;
6
7
final
class
DirectoryEntry
implements
EntryInterface
8
{
9
private
const
DIRECTORY_PATH =
'@directory'
;
10
private
string
$path;
11
12
private
function
__construct(
string
$path)
13
{
14
$this->
path
= $path;
15
}
16
17
public
static
function
createEmptyDirectory
(
string
$path): self
18
{
19
return
new
self
($path);
20
}
21
22
public
function
getPath
(): string
23
{
24
return
$this->path
;
25
}
26
27
public
function
getSize
(): int
28
{
29
return
0;
30
}
31
32
public
function
getServerRelativeUrl
(): string
33
{
34
return
self::DIRECTORY_PATH;
35
}
36
37
public
function
getCrc32
(): string
38
{
39
return
'0'
;
40
}
41
}
$path
$path
Определения
access_edit.php:21
Bitrix\Main\Engine\Response\Zip\DirectoryEntry
Определения
directoryentry.php:8
Bitrix\Main\Engine\Response\Zip\DirectoryEntry\getPath
getPath()
Определения
directoryentry.php:22
Bitrix\Main\Engine\Response\Zip\DirectoryEntry\getServerRelativeUrl
getServerRelativeUrl()
Определения
directoryentry.php:32
Bitrix\Main\Engine\Response\Zip\DirectoryEntry\getCrc32
getCrc32()
Определения
directoryentry.php:37
Bitrix\Main\Engine\Response\Zip\DirectoryEntry\getSize
getSize()
Определения
directoryentry.php:27
Bitrix\Main\Engine\Response\Zip\DirectoryEntry\createEmptyDirectory
static createEmptyDirectory(string $path)
Определения
directoryentry.php:17
Bitrix\Main\Engine\Response\Zip\EntryInterface
Определения
entryinterface.php:6
path
path
Определения
template_copy.php:201
bitrix
modules
main
lib
engine
response
zip
directoryentry.php
Создано системой
1.14.0