1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
loader.php
См. документацию.
1<?php
2
4
6
7class Loader
8{
9 private const STATE_LIMIT = 4999;
10
11 private int $userId;
12
13 public function __construct(int $userId)
14 {
15 $this->userId = $userId;
16 }
17
18 public function getRawCounters(): array
19 {
20 return CounterTable::query()
21 ->setDistinct()
22 ->setSelect([
23 'VALUE',
24 'EVENT_ID',
25 'PARENT_ID',
26 'TYPE'
27 ])
28 ->where('USER_ID', $this->userId)
29 ->setLimit($this->getLimit())
30 ->exec()
31 ->fetchAll()
32 ;
33 }
34
35 private function getLimit(): int
36 {
37 return self::STATE_LIMIT;
38 }
39}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804