1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
grouplink.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Sharing\Link;
4
5
use Bitrix\Calendar\Sharing\Link\Joint\JointLink;
6
7
final
class
GroupLink
extends
JointLink
8
{
9
private
?
int
$hostId =
null
;
10
private
int
$slotSize = 60;
11
protected
?
Rule\Rule
$sharingRule
=
null
;
12
13
public
function
getOwnerId
(): int
14
{
15
return
$this->
getObjectId
();
16
}
17
18
public
function
setGroupId
(
int
$id
): static
19
{
20
$this->
setObjectId
($id);
21
22
return
$this;
23
}
24
25
public
function
getGroupId
(): int
26
{
27
return
$this->
getObjectId
();
28
}
29
30
public
function
setHostId
(
int
$hostId): self
31
{
32
$this->hostId = $hostId;
33
34
return
$this;
35
}
36
37
public
function
getHostId
(): ?int
38
{
39
return
$this->hostId ??
null
;
40
}
41
42
public
function
getObjectType
(): string
43
{
44
return
Helper::GROUP_SHARING_TYPE;
45
}
46
47
public
function
getSharingRule
(): ?
Rule
\
Rule
48
{
49
return
$this->sharingRule
;
50
}
51
52
public
function
setSharingRule
(?
Rule
\
Rule
$sharingRule
): self
53
{
54
$this->sharingRule =
$sharingRule
;
55
56
return
$this;
57
}
58
59
public
function
getSlotSize
(): int
60
{
61
return
$this->slotSize;
62
}
63
64
public
function
setSlotSize
(
int
$minutes): static
65
{
66
$this->slotSize = $minutes;
67
68
return
$this;
69
}
70
}
Bitrix\Calendar\Sharing\Link\GroupLink
Определения
grouplink.php:8
Bitrix\Calendar\Sharing\Link\GroupLink\getSharingRule
getSharingRule()
Определения
grouplink.php:47
Bitrix\Calendar\Sharing\Link\GroupLink\getGroupId
getGroupId()
Определения
grouplink.php:25
Bitrix\Calendar\Sharing\Link\GroupLink\$sharingRule
Rule Rule $sharingRule
Определения
grouplink.php:11
Bitrix\Calendar\Sharing\Link\GroupLink\setGroupId
setGroupId(int $id)
Определения
grouplink.php:18
Bitrix\Calendar\Sharing\Link\GroupLink\getSlotSize
getSlotSize()
Определения
grouplink.php:59
Bitrix\Calendar\Sharing\Link\GroupLink\setSharingRule
setSharingRule(?Rule\Rule $sharingRule)
Определения
grouplink.php:52
Bitrix\Calendar\Sharing\Link\GroupLink\getHostId
getHostId()
Определения
grouplink.php:37
Bitrix\Calendar\Sharing\Link\GroupLink\getOwnerId
getOwnerId()
Определения
grouplink.php:13
Bitrix\Calendar\Sharing\Link\GroupLink\setHostId
setHostId(int $hostId)
Определения
grouplink.php:30
Bitrix\Calendar\Sharing\Link\GroupLink\setSlotSize
setSlotSize(int $minutes)
Определения
grouplink.php:64
Bitrix\Calendar\Sharing\Link\GroupLink\getObjectType
getObjectType()
Определения
grouplink.php:42
Bitrix\Calendar\Sharing\Link\Joint\JointLink
Определения
jointlink.php:9
Bitrix\Calendar\Sharing\Link\Link\setObjectId
setObjectId(int $objectId)
Определения
link.php:50
Bitrix\Calendar\Sharing\Link\Link\getObjectId
getObjectId()
Определения
link.php:41
Bitrix\Calendar\Sharing\Link\Link\$id
int $id
Определения
link.php:11
Bitrix\Calendar\Sharing\Link\Rule
Определения
factory.php:2
bitrix
modules
calendar
lib
sharing
link
grouplink.php
Создано системой
1.14.0