Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
field.php
1
<?php
2
3
namespace
Bitrix\Location\Entity\Location
;
4
5
use
Bitrix\Location\Entity\Generic\IField
;
6
12
final
class
Field
implements
IField
13
{
15
private
$type;
17
private
$value;
18
24
public
function
__construct
(
int
$type,
string
$value =
''
)
25
{
26
$this->type = $type;
27
$this->value = $value;
28
}
29
33
public
function
setValue
(
string
$value): void
34
{
35
$this->value = $value;
36
}
37
41
public
function
getValue
(): string
42
{
43
return
$this->value;
44
}
45
50
public
function
getType
(): int
51
{
52
return
$this->type;
53
}
54
}
Bitrix\Location\Entity\Location\Field
Definition
field.php:13
Bitrix\Location\Entity\Location\Field\__construct
__construct(int $type, string $value='')
Definition
field.php:24
Bitrix\Location\Entity\Location\Field\getType
getType()
Definition
field.php:50
Bitrix\Location\Entity\Location\Field\getValue
getValue()
Definition
field.php:41
Bitrix\Location\Entity\Location\Field\setValue
setValue(string $value)
Definition
field.php:33
Bitrix\Location\Entity\Generic\IField
Definition
ifield.php:10
Bitrix\Location\Entity\Location
Definition
collection.php:3
modules
location
lib
entity
location
field.php
Создано системой
1.10.0