Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
proxydisktype.php
1
<?php
2
3
namespace
Bitrix\Rest\Configuration\DataProvider\Disk
;
4
5
use Bitrix\Disk\ProxyType;
6
use Bitrix\Disk\Security\FakeSecurityContext;
7
use Bitrix\Disk\Security\SecurityContext;
8
use
Bitrix\Main\Loader
;
9
10
if
(!Loader::includeModule(
'disk'
))
11
{
12
return
false
;
13
}
14
15
class
ProxyDiskType
extends
ProxyType\Base
16
{
25
public
function
getSecurityContextByUser
($user)
26
{
27
return
new
FakeSecurityContext(
null
);
28
}
29
34
public
function
getStorageBaseUrl
()
35
{
36
return
''
;
37
}
38
48
public
function
getEntityImageSrc
($width, $height)
49
{
50
return
''
;
51
}
52
57
public
function
canAttachToExternalEntity
()
58
{
59
return
false
;
60
}
61
66
public
function
canIndexBySearch
()
67
{
68
return
false
;
69
}
70
}
Bitrix\Main\Loader
Definition
loader.php:12
Bitrix\Rest\Configuration\DataProvider\Disk\ProxyDiskType
Definition
proxydisktype.php:16
Bitrix\Rest\Configuration\DataProvider\Disk\ProxyDiskType\getEntityImageSrc
getEntityImageSrc($width, $height)
Definition
proxydisktype.php:48
Bitrix\Rest\Configuration\DataProvider\Disk\ProxyDiskType\canAttachToExternalEntity
canAttachToExternalEntity()
Definition
proxydisktype.php:57
Bitrix\Rest\Configuration\DataProvider\Disk\ProxyDiskType\canIndexBySearch
canIndexBySearch()
Definition
proxydisktype.php:66
Bitrix\Rest\Configuration\DataProvider\Disk\ProxyDiskType\getStorageBaseUrl
getStorageBaseUrl()
Definition
proxydisktype.php:34
Bitrix\Rest\Configuration\DataProvider\Disk\ProxyDiskType\getSecurityContextByUser
getSecurityContextByUser($user)
Definition
proxydisktype.php:25
Bitrix\Rest\Configuration\DataProvider\Disk
Definition
base.php:3
modules
rest
lib
configuration
dataprovider
disk
proxydisktype.php
Создано системой
1.10.0