1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
workgrouplistlivefeed.php
См. документацию.
1<?php
2
9
10namespace Bitrix\Socialnetwork\Internals\Counter\Provider;
11
12use Bitrix\Main\ArgumentException;
13use Bitrix\Main\DB\SqlExpression;
14use Bitrix\Main\Entity\ReferenceField;
15use Bitrix\Main\ORM\Fields\ExpressionField;
16use Bitrix\Main\ORM\Query\Query;
17use Bitrix\Main\ORM\Query\Join;
18use Bitrix\Main\UserCounterTable;
19use Bitrix\Socialnetwork\UserToGroupTable;
20use Bitrix\Socialnetwork\WorkgroupSiteTable;
21
23{
24 private int $userId;
25
26 public function __construct(array $params = [])
27 {
28 $this->userId = (int)($params['userId'] ?? 0);
29
30 if ($this->userId <= 0)
31 {
32 throw new ArgumentException('Wrong userId value');
33 }
34 }
35
36 public function getCounterValue(): array
37 {
38 return [
39 'all' => $this->getValue(),
40 ];
41 }
42
43 public function getValue(): int
44 {
45 //todo oh
46 return 0;
47 }
48}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения template.php:799