Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
field.php
1
<?php
2
3
namespace
Bitrix\Location\Entity\Format
;
4
5
use
Bitrix\Location\Entity\Generic\IField
;
6
12
final
class
Field
implements
IField
13
{
15
private
$type;
17
private
$sort = 100;
19
private
$name =
''
;
21
private
$description =
''
;
22
27
public
function
__construct
(
int
$type)
28
{
29
$this->type = $type;
30
}
31
36
public
function
getType
(): int
37
{
38
return
$this->type;
39
}
40
44
public
function
getSort
(): int
45
{
46
return
$this->sort;
47
}
48
53
public
function
setSort
(
int
$sort): self
54
{
55
$this->sort = $sort;
56
return
$this;
57
}
58
62
public
function
getName
(): string
63
{
64
return
$this->name;
65
}
66
71
public
function
setName
(
string
$name): self
72
{
73
$this->name = $name;
74
return
$this;
75
}
76
80
public
function
getDescription
(): string
81
{
82
return
$this->description;
83
}
84
89
public
function
setDescription
(
string
$description): self
90
{
91
$this->description = $description;
92
return
$this;
93
}
94
}
Bitrix\Location\Entity\Format\Field
Definition
field.php:13
Bitrix\Location\Entity\Format\Field\getDescription
getDescription()
Definition
field.php:80
Bitrix\Location\Entity\Format\Field\setName
setName(string $name)
Definition
field.php:71
Bitrix\Location\Entity\Format\Field\getName
getName()
Definition
field.php:62
Bitrix\Location\Entity\Format\Field\setDescription
setDescription(string $description)
Definition
field.php:89
Bitrix\Location\Entity\Format\Field\__construct
__construct(int $type)
Definition
field.php:27
Bitrix\Location\Entity\Format\Field\getType
getType()
Definition
field.php:36
Bitrix\Location\Entity\Format\Field\setSort
setSort(int $sort)
Definition
field.php:53
Bitrix\Location\Entity\Format\Field\getSort
getSort()
Definition
field.php:44
Bitrix\Location\Entity\Generic\IField
Definition
ifield.php:10
Bitrix\Location\Entity\Format
modules
location
lib
entity
format
field.php
Создано системой
1.10.0