Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
eventlink.php
1
<?php
2
namespace
Bitrix\Calendar\Sharing\Link
;
3
4
class
EventLink
extends
Link
5
{
7
private
?
int
$hostId =
null
;
9
private
?
int
$ownerId =
null
;
11
private
?
string
$conferenceId =
null
;
13
private
?
string
$parentLinkHash =
null
;
15
private
?
int
$canceledTimestamp =
null
;
17
private
?
string
$externalUserName =
null
;
18
23
public
function
setOwnerId
(
int
$ownerId): self
24
{
25
$this->ownerId = $ownerId;
26
27
return
$this;
28
}
29
33
public
function
getOwnerId
(): ?int
34
{
35
return
$this->ownerId ??
null
;
36
}
37
42
public
function
setHostId
(?
int
$hostId): self
43
{
44
$this->hostId = $hostId;
45
46
return
$this;
47
}
48
52
public
function
getHostId
(): ?int
53
{
54
return
$this->hostId ??
null
;
55
}
56
61
public
function
setConferenceId
(?
string
$conferenceId): self
62
{
63
$this->conferenceId = $conferenceId;
64
65
return
$this;
66
}
67
71
public
function
getConferenceId
(): ?string
72
{
73
return
$this->conferenceId;
74
}
75
79
public
function
getParentLinkHash
(): ?string
80
{
81
return
$this->parentLinkHash;
82
}
83
88
public
function
setParentLinkHash
(?
string
$parentLinkHash): self
89
{
90
$this->parentLinkHash = $parentLinkHash;
91
92
return
$this;
93
}
94
99
public
function
setEventId
(
int
$id
): self
100
{
101
return
$this->
setObjectId
($id);
102
}
103
107
public
function
getEventId
(): int
108
{
109
return
$this->
getObjectId
();
110
}
111
116
public
function
setCanceledTimestamp
(?
int
$timestamp): self
117
{
118
$this->canceledTimestamp = $timestamp;
119
120
return
$this;
121
}
122
126
public
function
getCanceledTimestamp
(): ?int
127
{
128
return
$this->canceledTimestamp;
129
}
130
135
public
function
setExternalUserName
(?
string
$name)
136
{
137
$this->externalUserName = $name;
138
139
return
$this;
140
}
141
145
public
function
getExternalUserName
()
146
{
147
return
$this->externalUserName;
148
}
149
153
public
function
getObjectType
(): string
154
{
155
return
Helper::EVENT_SHARING_TYPE
;
156
}
157
}
Bitrix\Calendar\Sharing\Link\EventLink
Definition
eventlink.php:5
Bitrix\Calendar\Sharing\Link\EventLink\setOwnerId
setOwnerId(int $ownerId)
Definition
eventlink.php:23
Bitrix\Calendar\Sharing\Link\EventLink\setParentLinkHash
setParentLinkHash(?string $parentLinkHash)
Definition
eventlink.php:88
Bitrix\Calendar\Sharing\Link\EventLink\getExternalUserName
getExternalUserName()
Definition
eventlink.php:145
Bitrix\Calendar\Sharing\Link\EventLink\getConferenceId
getConferenceId()
Definition
eventlink.php:71
Bitrix\Calendar\Sharing\Link\EventLink\setCanceledTimestamp
setCanceledTimestamp(?int $timestamp)
Definition
eventlink.php:116
Bitrix\Calendar\Sharing\Link\EventLink\setConferenceId
setConferenceId(?string $conferenceId)
Definition
eventlink.php:61
Bitrix\Calendar\Sharing\Link\EventLink\getParentLinkHash
getParentLinkHash()
Definition
eventlink.php:79
Bitrix\Calendar\Sharing\Link\EventLink\getCanceledTimestamp
getCanceledTimestamp()
Definition
eventlink.php:126
Bitrix\Calendar\Sharing\Link\EventLink\getEventId
getEventId()
Definition
eventlink.php:107
Bitrix\Calendar\Sharing\Link\EventLink\getHostId
getHostId()
Definition
eventlink.php:52
Bitrix\Calendar\Sharing\Link\EventLink\getOwnerId
getOwnerId()
Definition
eventlink.php:33
Bitrix\Calendar\Sharing\Link\EventLink\setEventId
setEventId(int $id)
Definition
eventlink.php:99
Bitrix\Calendar\Sharing\Link\EventLink\setHostId
setHostId(?int $hostId)
Definition
eventlink.php:42
Bitrix\Calendar\Sharing\Link\EventLink\setExternalUserName
setExternalUserName(?string $name)
Definition
eventlink.php:135
Bitrix\Calendar\Sharing\Link\EventLink\getObjectType
getObjectType()
Definition
eventlink.php:153
Bitrix\Calendar\Sharing\Link\Helper\EVENT_SHARING_TYPE
const EVENT_SHARING_TYPE
Definition
helper.php:8
Bitrix\Calendar\Sharing\Link\Link
Definition
link.php:8
Bitrix\Calendar\Sharing\Link\Link\setObjectId
setObjectId(int $objectId)
Definition
link.php:50
Bitrix\Calendar\Sharing\Link\Link\getObjectId
getObjectId()
Definition
link.php:41
Bitrix\Calendar\Sharing\Link\Link\$id
int $id
Definition
link.php:11
Bitrix\Calendar\Sharing\Link
Definition
crmdeallink.php:3
modules
calendar
lib
sharing
link
eventlink.php
Создано системой
1.10.0