1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
watchtable.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Pull\Model;
4
5
use Bitrix\Main\ORM;
6
23
class
WatchTable
extends
ORM\Data\DataManager
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
}
Bitrix\Main\ORM\Data\DataManager
Определения
datamanager.php:35
Bitrix\Main\ORM\Fields\DatetimeField
Определения
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Определения
integerfield.php:20
Bitrix\Main\ORM\Fields\StringField
Определения
stringfield.php:20
Bitrix\Pull\Model\WatchTable
Определения
watchtable.php:24
Bitrix\Pull\Model\WatchTable\getMap
static getMap()
Определения
watchtable.php:30
Bitrix\Pull\Model\WatchTable\getUserIdsByTag
static getUserIdsByTag(string $tag)
Определения
watchtable.php:49
Bitrix\Pull\Model\WatchTable\getTableName
static getTableName()
Определения
watchtable.php:25
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
bitrix
modules
pull
lib
model
watchtable.php
Создано системой
1.14.0