Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
mail.php
1<?php
2
4
6use Bitrix\Disk;
7
8if (!Main\Loader::includeModule('disk'))
9{
10 return false;
11}
12
13class Mail extends Disk\ProxyType\Base
14{
15
20 public function getSecurityContextByUser($user)
21 {
22 return new \Bitrix\Mail\Disk\Security\MailSecurityContext($user);
23 }
24
28 public function getStorageBaseUrl()
29 {
30 return '/';
31 }
32
36 public function getEntityUrl()
37 {
38 return '/';
39 }
40
44 public function getEntityTitle()
45 {
46 return 'mail';
47 }
48
52 public function getEntityImageSrc($width, $height)
53 {
54 return '/bitrix/images/mail/mail.gif';
55 }
56
60 public function getTitle()
61 {
62 return $this->getEntityTitle();
63 }
64
65}
getEntityImageSrc($width, $height)
Definition mail.php:52