1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
livewatchtable.php
См. документацию.
1<?php
2
3namespace Bitrix\Socialnetwork\Internals\Space\LiveWatch;
4
5use Bitrix\Main\ORM\Data\DataManager;
6use Bitrix\Main\ORM\Data\Internal\DeleteByFilterTrait;
7use Bitrix\Main\ORM\Data\Internal\MergeTrait;
8use Bitrix\Main\ORM\Fields\DatetimeField;
9use Bitrix\Main\ORM\Fields\IntegerField;
10
35
36final class LiveWatchTable extends DataManager
37{
38 use MergeTrait;
39 use DeleteByFilterTrait;
40
46 public static function getTableName(): string
47 {
48 return 'b_sonet_space_live_watch';
49 }
50
56 public static function getMap(): array
57 {
58 return [
59 (new IntegerField('USER_ID'))
60 ->configurePrimary()
61 ->configureRequired()
62 ,
63 (new DatetimeField('DATETIME'))
64 ->configureRequired()
65 ,
66 (new IntegerField('SECONDARY_ENTITY_ID')),
67 ];
68 }
69
70 public static function getUniqueFields(): array
71 {
72 return ['USER_ID'];
73 }
74}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804