1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
im.php
См. документацию.
1<?php
2
4
5use Bitrix\Disk\Driver;
6use Bitrix\Disk\Security\DiskSecurityContext;
7use Bitrix\Disk\Security\SecurityContext;
10use Bitrix\Disk\ProxyType;
11Loc::loadMessages(__FILE__);
12
13if (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}
Определения loader.php:13
Определения im.php:3
$user
Определения mysql_to_pgsql.php:33
$width
Определения html.php:68