Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
field.php
1
<?php
2
3
namespace
Bitrix\Location\Entity\Address
;
4
5
use
Bitrix\Location\Entity\Location\Type
;
6
use
Bitrix\Location\Entity\Generic\IField
;
7
13
final
class
Field
implements
IField
14
{
16
private
$type;
17
19
private
$value =
''
;
20
21
public
function
__construct
(
int
$type,
string
$value =
''
)
22
{
23
$this->type = $type;
24
$this->value = $value;
25
}
26
30
public
function
getValue
(): string
31
{
32
return
$this->value;
33
}
34
39
public
function
setValue
(
string
$value): self
40
{
41
$this->value = $value;
42
return
$this;
43
}
44
49
public
function
getType
(): int
50
{
51
return
$this->type;
52
}
53
}
Bitrix\Location\Entity\Address\Field
Definition
field.php:14
Bitrix\Location\Entity\Address\Field\__construct
__construct(int $type, string $value='')
Definition
field.php:21
Bitrix\Location\Entity\Address\Field\getType
getType()
Definition
field.php:49
Bitrix\Location\Entity\Address\Field\getValue
getValue()
Definition
field.php:30
Bitrix\Location\Entity\Address\Field\setValue
setValue(string $value)
Definition
field.php:39
Bitrix\Location\Entity\Location\Type
Definition
type.php:11
Bitrix\Location\Entity\Generic\IField
Definition
ifield.php:10
Bitrix\Location\Entity\Address
Definition
addresscollection.php:3
modules
location
lib
entity
address
field.php
Создано системой
1.10.0