Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
field.php
1<?php
2
4
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}
setDescription(string $description)
Definition field.php:89