Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
company.php
1<?php
3
4
6
7class Company extends Base
8{
9 function getType()
10 {
11 return CRM\EntityType::COMPANY;
12 }
13
14 public function getTitle()
15 {
16 return $this->fields->get('TITLE');
17 }
18
19 public function setTitle($value)
20 {
21 $this->fields->set('TITLE', $value);
22 return $this;
23 }
24
25 public function getRegAddress()
26 {
27 return $this->fields->get('REG_ADDRESS');
28 }
29
30 public function setRegAddress($value)
31 {
32 $this->fields->set('REG_ADDRESS', $value);
33 return $this;
34 }
35
36 public function getEmail()
37 {
38 return $this->fields->get('EMAIL');
39 }
40
41 public function setEmail($value)
42 {
43 $this->fields->set('EMAIL', $value);
44 return $this;
45 }
46
47 public function getPhone()
48 {
49 return $this->fields->get('PHONE');
50 }
51
52 public function setPhone($value)
53 {
54 $this->fields->set('PHONE', $value);
55 return $this;
56 }
57
58 public function getAddressPostalCode()
59 {
60 return $this->fields->get('ADDRESS_POSTAL_CODE');
61 }
62
63 public function setAddressPostalCode($value)
64 {
65 $this->fields->set('ADDRESS_POSTAL_CODE', $value);
66 return $this;
67 }
68
69 public function getAddressCity()
70 {
71 return $this->fields->get('ADDRESS_CITY');
72 }
73
74 public function setAddressCity($value)
75 {
76 $this->fields->set('ADDRESS_CITY', $value);
77 return $this;
78 }
79
80 public function getAddress()
81 {
82 return $this->fields->get('ADDRESS');
83 }
84
85 public function setAddress($value)
86 {
87 $this->fields->set('ADDRESS', $value);
88 return $this;
89 }
90}