1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
watchtable.php
См. документацию.
1<?php
2
3namespace Bitrix\Pull\Model;
4
5use Bitrix\Main\ORM;
6
24{
25 public static function getTableName(): string
26 {
27 return 'b_pull_watch';
28 }
29
30 public static function getMap(): array
31 {
32 return [
33 (new ORM\Fields\IntegerField('ID'))
34 ->configurePrimary()
35 ->configureAutocomplete(),
36 (new ORM\Fields\IntegerField('USER_ID'))
37 ->configureRequired(),
38 (new ORM\Fields\StringField('CHANNEL_ID'))
39 ->configureRequired()
40 ->configureSize(50),
41 (new ORM\Fields\StringField('TAG'))
42 ->configureRequired()
43 ->configureSize(255),
44 (new ORM\Fields\DatetimeField('DATE_CREATE'))
45 ->configureRequired(),
46 ];
47 }
48
49 public static function getUserIdsByTag(string $tag): array
50 {
51 return \CPullWatch::getUsersByTag($tag);
52 }
53}
static getMap()
Определения watchtable.php:30
static getUserIdsByTag(string $tag)
Определения watchtable.php:49
static getTableName()
Определения watchtable.php:25
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804