Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
proxydisktype.php
1<?php
2
4
5use Bitrix\Disk\ProxyType;
6use Bitrix\Disk\Security\FakeSecurityContext;
7use Bitrix\Disk\Security\SecurityContext;
9
10if (!Loader::includeModule('disk'))
11{
12 return false;
13}
14
15class 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}