1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
eventcollection.php
См. документацию.
1<?php
2
3namespace Bitrix\Calendar\Internals\Counter\Event;
4
6{
7 private static $instance;
8 private array $registry = [];
9 private array $ids = [];
10
14 private function __construct()
15 {
16
17 }
18
22 public static function getInstance(): self
23 {
24 if (!self::$instance)
25 {
26 self::$instance = new self();
27 }
28
29 return self::$instance;
30 }
31
35 public function list(): array
36 {
37 return $this->registry;
38 }
39
43 public function push(Event $event): void
44 {
45 $this->registry[] = $event;
46 $this->ids[] = $event->getId();
47 }
48
52 public function getEventsId(): array
53 {
54 return $this->ids;
55 }
56
57}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$event
Определения prolog_after.php:141