Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
im.php
1
<?php
2
3
namespace
Bitrix\Im\Disk\ProxyType
;
4
5
use Bitrix\Disk\Driver;
6
use Bitrix\Disk\Security\DiskSecurityContext;
7
use Bitrix\Disk\Security\SecurityContext;
8
use
Bitrix\Main\Loader
;
9
use
Bitrix\Main\Localization\Loc
;
10
use Bitrix\Disk\ProxyType;
11
Loc::loadMessages
(__FILE__);
12
13
if
(Loader::includeModule(
'disk'
))
14
{
15
class
Im
extends
ProxyType\Base
16
{
17
22
public
function
getSecurityContextByUser($user)
23
{
24
return
new
DiskSecurityContext($user);
25
}
26
30
public
function
getStorageBaseUrl()
31
{
32
return
'/'
;
33
}
34
38
public
function
getEntityUrl()
39
{
40
return
'/'
;
41
}
42
46
public
function
getEntityTitle()
47
{
48
return
Loc::getMessage
(
'IM_DISK_STORAGE_TITLE'
);
49
}
50
54
public
function
getEntityImageSrc($width, $height)
55
{
56
return
'/bitrix/js/im/images/blank.gif'
;
57
}
58
62
public
function
getTitle
()
63
{
64
return
$this->getEntityTitle();
65
}
66
}
67
}
Bitrix\Main\Loader
Definition
loader.php:12
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Im\Disk\ProxyType
Definition
im.php:3
Bitrix\Main\Grid\Column\UI\getTitle
getTitle()
Definition
columnfields.php:173
modules
im
lib
disk
proxytype
im.php
Создано системой
1.10.0