1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
field.php
См. документацию.
1<?php
2
3namespace Bitrix\Location\Entity\Format;
4
5use Bitrix\Location\Entity\Generic\IField;
6
12final 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}
$type
Определения options.php:106
setName(string $name)
Определения field.php:71
setDescription(string $description)
Определения field.php:89
__construct(int $type)
Определения field.php:27
setSort(int $sort)
Определения field.php:53
if(Loader::includeModule( 'bitrix24')) elseif(Loader::includeModule('intranet') &&CIntranetUtils::getPortalZone() !=='ru') $description
Определения .description.php:24
$name
Определения menu_edit.php:35