1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
updatecontactdtocollection.php
См. документацию.
1<?php
2
3namespace Bitrix\Sender\Internals\Dto;
4
9{
13 private array $items = [];
14
22 public function append(UpdateContact $item): self {
23 $this->items[] = $item;
24 return $this;
25 }
26
32 public function all(): array {
33 return $this->items;
34 }
35
41 public function toArray(): array {
42 return array_map(fn(UpdateContact $item) => $item->toArray(), $this->items);
43 }
44
49 {
50 $item = $this->items[0] ?? null;
51
52 if (!$item)
53 {
54 return [];
55 }
56
57 return $item->getOnDuplicateKeyUpdateFields();
58 }
59
65 public function count(): int {
66 return count($this->items);
67 }
68}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804