Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
inboxmanager.php
1
<?php
2
3
4
namespace
Bitrix\Calendar\ICal\MailInvitation
;
5
6
7
use
Bitrix\Calendar\ICal\Parser\Calendar
;
8
9
class
InboxManager
10
{
14
private
$content;
18
private
$attachmentManager;
19
24
public
static
function
createInstance
(
string
$content):
InboxManager
25
{
26
return
new
self
($content);
27
}
28
33
public
function
__construct
(
string
$content)
34
{
35
$this->content = $content;
36
}
37
41
public
function
parseContent
():
InboxManager
42
{
43
$this->attachmentManager =
InboxAttachmentManager::createInstance
($this->content)
44
->parse();
45
46
return
$this;
47
}
48
49
53
public
function
getComponent
(): ?
Calendar
54
{
55
return
$this->attachmentManager->getComponent();
56
}
57
58
59
}
Bitrix\Calendar\ICal\Builder\Calendar
Definition
calendar.php:13
Bitrix\Calendar\ICal\MailInvitation\InboxAttachmentManager\createInstance
static createInstance(string $fileContent)
Definition
inboxattachmentmanager.php:27
Bitrix\Calendar\ICal\MailInvitation\InboxManager
Definition
inboxmanager.php:10
Bitrix\Calendar\ICal\MailInvitation\InboxManager\getComponent
getComponent()
Definition
inboxmanager.php:53
Bitrix\Calendar\ICal\MailInvitation\InboxManager\__construct
__construct(string $content)
Definition
inboxmanager.php:33
Bitrix\Calendar\ICal\MailInvitation\InboxManager\parseContent
parseContent()
Definition
inboxmanager.php:41
Bitrix\Calendar\ICal\MailInvitation\InboxManager\createInstance
static createInstance(string $content)
Definition
inboxmanager.php:24
Bitrix\Calendar\ICal\Parser\Calendar
Definition
calendar.php:8
Bitrix\Calendar\ICal\MailInvitation
Definition
attachmentcancelmanager.php:4
modules
calendar
lib
ical
mailinvitation
inboxmanager.php
Создано системой
1.10.0