3namespace Bitrix\Socialnetwork\Internals\Counter;
6use Bitrix\Main\Application;
7use Bitrix\Socialnetwork\Internals\Counter;
8use Bitrix\Socialnetwork\Internals\Counter\Event\Event;
9use Bitrix\Socialnetwork\Internals\Counter\Event\EventCollection;
18 private static $instance;
19 private static $isJobOn =
false;
24 private function __construct()
36 self::$instance =
new self();
39 return self::$instance;
60 $this->getEventCollection()->push(
$event);
78 private function enableJob(): void
84 [ __CLASS__,
'proceedEvents' ],
86 Application::JOB_PRIORITY_LOW - 2
89 self::$isJobOn =
true;
96 private function getEventCollection(): EventCollection
static addEvent(string $type, array $data)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)