Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
adsaudienceconfig.php
1<?php
2
4
10{
12 public $clientId;
13
15 public $accountId;
16
19
21 public $contactType = null;
22
23 public $type = null;
24
25 public $autoRemoveDayNumber = null;
26
27 public $parentId = null;
28
34 public function __construct(\stdClass $config = null)
35 {
36 if (!$config)
37 {
38 return;
39 }
40 if ($config->clientId)
41 {
42 $this->clientId = $config->clientId;
43 }
44 if ($config->accountId)
45 {
46 $this->accountId = $config->accountId;
47 }
48 if ($config->audienceId)
49 {
50 $this->audienceId = $config->audienceId;
51 }
52 if ($config->contactType)
53 {
54 $this->contactType = $config->contactType;
55 }
56 if ($config->type)
57 {
58 $this->type = $config->type;
59 }
60 if ($config->autoRemoveDayNumber)
61 {
62 $this->autoRemoveDayNumber = $config->autoRemoveDayNumber;
63 }
64 if ($config->parentId)
65 {
66 $this->parentId = $config->parentId;
67 }
68 }
69}