Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
fileentry.php
1
<?php
2
namespace
Bitrix\Main\IO
;
3
4
abstract
class
FileEntry
5
extends
FileSystemEntry
6
{
7
public
function
__construct
(
$path
,
$siteId
=
null
)
8
{
9
parent::__construct(
$path
,
$siteId
);
10
}
11
12
public
function
getExtension
()
13
{
14
return
Path::getExtension
($this->path);
15
}
16
17
public
abstract
function
getContents
();
18
public
abstract
function
putContents
($data);
19
public
abstract
function
getSize
();
20
public
abstract
function
isWritable
();
21
public
abstract
function
isReadable
();
22
public
abstract
function
readFile
();
23
28
public
function
getFileSize
()
29
{
30
return
$this->
getSize
();
31
}
32
33
public
function
isDirectory
()
34
{
35
return
false
;
36
}
37
38
public
function
isFile
()
39
{
40
return
true
;
41
}
42
43
public
function
isLink
()
44
{
45
return
false
;
46
}
47
}
Bitrix\Main\IO\FileEntry
Definition
fileentry.php:6
Bitrix\Main\IO\FileEntry\getFileSize
getFileSize()
Definition
fileentry.php:28
Bitrix\Main\IO\FileEntry\getContents
getContents()
Bitrix\Main\IO\FileEntry\isDirectory
isDirectory()
Definition
fileentry.php:33
Bitrix\Main\IO\FileEntry\isReadable
isReadable()
Bitrix\Main\IO\FileEntry\isWritable
isWritable()
Bitrix\Main\IO\FileEntry\isFile
isFile()
Definition
fileentry.php:38
Bitrix\Main\IO\FileEntry\getSize
getSize()
Bitrix\Main\IO\FileEntry\isLink
isLink()
Definition
fileentry.php:43
Bitrix\Main\IO\FileEntry\putContents
putContents($data)
Bitrix\Main\IO\FileEntry\__construct
__construct($path, $siteId=null)
Definition
fileentry.php:7
Bitrix\Main\IO\FileEntry\readFile
readFile()
Bitrix\Main\IO\FileEntry\getExtension
getExtension()
Definition
fileentry.php:12
Bitrix\Main\IO\FileSystemEntry
Definition
filesystementry.php:7
Bitrix\Main\IO\FileSystemEntry\$path
$path
Definition
filesystementry.php:8
Bitrix\Main\IO\FileSystemEntry\$siteId
$siteId
Definition
filesystementry.php:11
Bitrix\Main\IO\Path\getExtension
static getExtension($path)
Definition
path.php:86
Bitrix\Main\IO
Definition
directory.php:2
modules
main
lib
io
fileentry.php
Создано системой
1.10.0