1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
updateblacklistdto.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Sender\Internals\Dto
;
4
5
use
Bitrix\Main\Type\DateTime
;
6
7
class
UpdateBlacklistDTO
implements
UpdateContact
8
{
9
public
function
__construct
(
10
public
?
int
$typeId =
null
,
11
public
?
string
$code
=
null
,
12
public
?
string
$name
=
null
,
13
public
?
DateTime
$dateInsert
=
null
,
14
public
?
DateTime
$dateUpdate =
null
,
15
private
readonly
bool
$blacklisted =
true
16
)
17
{
18
}
19
20
public
function
toArray
():
array
{
21
return [
22
'TYPE_ID'
=> $this->typeId,
23
'CODE'
=> $this->code,
24
'NAME'
=> $this->name,
25
'DATE_INSERT'
=> $this->dateInsert,
26
'DATE_UPDATE'
=> $this->dateUpdate,
27
'BLACKLISTED'
=> $this->blacklisted ?
'Y'
:
'N'
,
28
];
29
}
30
31
public
function
getOnDuplicateKeyUpdateFields
():
array
32
{
33
return
[
34
'NAME'
,
35
'DATE_UPDATE'
,
36
'BLACKLISTED'
37
];
38
}
39
}
Bitrix\Main\Type\DateTime
Определения
datetime.php:9
Bitrix\Sender\Internals\Dto\UpdateBlacklistDTO
Определения
updateblacklistdto.php:8
Bitrix\Sender\Internals\Dto\UpdateBlacklistDTO\__construct
__construct(public ?int $typeId=null, public ?string $code=null, public ?string $name=null, public ?DateTime $dateInsert=null, public ?DateTime $dateUpdate=null, private readonly bool $blacklisted=true)
Определения
updateblacklistdto.php:9
Bitrix\Sender\Internals\Dto\UpdateBlacklistDTO\toArray
toArray()
Определения
updateblacklistdto.php:20
Bitrix\Sender\Internals\Dto\UpdateBlacklistDTO\getOnDuplicateKeyUpdateFields
getOnDuplicateKeyUpdateFields()
Определения
updateblacklistdto.php:31
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Sender\Internals\Dto\UpdateContact
Определения
updatecontact.php:6
$code
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения
options.php:195
$name
$name
Определения
menu_edit.php:35
Bitrix\Sender\Internals\Dto
Определения
updateblacklistdto.php:3
$dateInsert
$dateInsert
Определения
payment.php:19
bitrix
modules
sender
lib
internals
dto
updateblacklistdto.php
Создано системой
1.14.0