1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
eventcollection.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Internals\Counter\Event;
4
5
class
EventCollection
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
}
Bitrix\Calendar\Internals\Counter\Event\EventCollection
Определения
eventcollection.php:6
Bitrix\Calendar\Internals\Counter\Event\EventCollection\push
push(Event $event)
Определения
eventcollection.php:43
Bitrix\Calendar\Internals\Counter\Event\EventCollection\list
list()
Определения
eventcollection.php:35
Bitrix\Calendar\Internals\Counter\Event\EventCollection\getEventsId
getEventsId()
Определения
eventcollection.php:52
Bitrix\Calendar\Internals\Counter\Event\EventCollection\getInstance
static getInstance()
Определения
eventcollection.php:22
Bitrix\Calendar\Internals\Counter\Event\Event
Определения
event.php:6
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$event
$event
Определения
prolog_after.php:141
bitrix
modules
calendar
lib
internals
counter
event
eventcollection.php
Создано системой
1.14.0