Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
updatecontactdto.php
1
<?php
2
3
namespace
Bitrix\Sender\Internals\Dto
;
4
5
use
Bitrix\Main\Type\DateTime
;
6
7
class
UpdateContactDTO
8
{
9
public
int
$typeId
;
10
11
public
string
$code
;
12
13
public
?
string
$name
=
null
;
14
15
public
DateTime
$dateInsert
;
16
17
public
DateTime
$dateUpdate
;
18
19
public
bool
$blacklisted
=
false
;
20
21
public
function
toArray
(): array {
22
return [
23
'TYPE_ID'
=> $this->typeId,
24
'CODE'
=> $this->code,
25
'NAME'
=> $this->name,
26
'DATE_INSERT'
=> $this->dateInsert,
27
'DATE_UPDATE'
=> $this->dateUpdate,
28
'BLACKLISTED'
=> $this->blacklisted ?
'Y'
:
'N'
,
29
];
30
}
31
}
Bitrix\Main\Type\DateTime
Definition
datetime.php:9
Bitrix\Sender\Internals\Dto\UpdateContactDTO
Definition
updatecontactdto.php:8
Bitrix\Sender\Internals\Dto\UpdateContactDTO\$blacklisted
bool $blacklisted
Definition
updatecontactdto.php:19
Bitrix\Sender\Internals\Dto\UpdateContactDTO\$code
string $code
Definition
updatecontactdto.php:11
Bitrix\Sender\Internals\Dto\UpdateContactDTO\$typeId
int $typeId
Definition
updatecontactdto.php:9
Bitrix\Sender\Internals\Dto\UpdateContactDTO\$dateUpdate
DateTime $dateUpdate
Definition
updatecontactdto.php:17
Bitrix\Sender\Internals\Dto\UpdateContactDTO\$dateInsert
DateTime $dateInsert
Definition
updatecontactdto.php:15
Bitrix\Sender\Internals\Dto\UpdateContactDTO\$name
string $name
Definition
updatecontactdto.php:13
Bitrix\Sender\Internals\Dto\UpdateContactDTO\toArray
toArray()
Definition
updatecontactdto.php:21
Bitrix\Sender\Internals\Dto
Definition
updatecontactdto.php:3
modules
sender
lib
internals
dto
updatecontactdto.php
Создано системой
1.10.0