1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
Entity.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Relation\Item
;
4
5
use
Bitrix\Main\Type\Contract\Arrayable
;
6
7
class
Entity
implements
Arrayable
8
{
9
private
?
string
$link =
null
;
10
11
public
function
__construct
(
private
int
$id,
private
string
$type
)
12
{}
13
14
public
function
getId
(): int
15
{
16
return
$this->id;
17
}
18
19
public
function
getType
(): string
20
{
21
return
$this->type
;
22
}
23
24
public
function
getLink
(): ?string
25
{
26
return
$this->link;
27
}
28
29
public
function
setLink
(
string
$link): self
30
{
31
$this->link = $link;
32
33
return
$this;
34
}
35
36
public
function
toArray
():
array
37
{
38
return
[
39
'id'
=> $this->id,
40
'type'
=>
$this->type
,
41
'link'
=> $this->link,
42
];
43
}
44
}
$type
$type
Определения
options.php:106
Bitrix\Calendar\Relation\Item\Entity
Определения
Entity.php:8
Bitrix\Calendar\Relation\Item\Entity\getId
getId()
Определения
Entity.php:14
Bitrix\Calendar\Relation\Item\Entity\toArray
toArray()
Определения
Entity.php:36
Bitrix\Calendar\Relation\Item\Entity\getType
getType()
Определения
Entity.php:19
Bitrix\Calendar\Relation\Item\Entity\__construct
__construct(private int $id, private string $type)
Определения
Entity.php:11
Bitrix\Calendar\Relation\Item\Entity\setLink
setLink(string $link)
Определения
Entity.php:29
Bitrix\Calendar\Relation\Item\Entity\getLink
getLink()
Определения
Entity.php:24
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\Type\Contract\Arrayable
Определения
arrayable.php:6
Bitrix\Calendar\Relation\Item
Определения
Entity.php:3
bitrix
modules
calendar
lib
Relation
Item
Entity.php
Создано системой
1.14.0