1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
grouptask.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Main;
4
5
use Bitrix\Main;
6
use Bitrix\Main\Localization\Loc;
7
use Bitrix\Main\ORM\Data\Internal\DeleteByFilterTrait;
8
9
Loc::loadMessages(__FILE__);
10
38
39
class
GroupTaskTable
extends
Main\Entity\DataManager
40
{
41
use DeleteByFilterTrait;
42
48
public
static
function
getTableName
()
49
{
50
return
'b_group_task'
;
51
}
52
58
public
static
function
getMap
()
59
{
60
return
array
(
61
'GROUP_ID'
=>
array
(
62
'data_type'
=>
'integer'
,
63
'primary'
=>
true
,
64
),
65
'TASK_ID'
=>
array
(
66
'data_type'
=>
'integer'
,
67
'primary'
=>
true
,
68
),
69
'EXTERNAL_ID'
=>
array
(
70
'data_type'
=>
'string'
,
71
'validation'
=>
array
(__CLASS__,
'validateExternalId'
),
72
),
73
'GROUP'
=>
array
(
74
'data_type'
=>
'Bitrix\Main\GroupTable'
,
75
'reference'
=>
array
(
'=this.GROUP_ID'
=>
'ref.ID'
),
76
),
77
'TASK'
=>
array
(
78
'data_type'
=>
'Bitrix\Main\TaskTable'
,
79
'reference'
=>
array
(
'=this.TASK_ID'
=>
'ref.ID'
),
80
),
81
);
82
}
83
88
public
static
function
validateExternalId
()
89
{
90
return
array
(
91
new
Main
\
Entity
\Validator\Length(
null
, 50),
92
);
93
}
94
}
Bitrix\Main\GroupTaskTable
Определения
grouptask.php:40
Bitrix\Main\GroupTaskTable\getMap
static getMap()
Определения
grouptask.php:58
Bitrix\Main\GroupTaskTable\validateExternalId
static validateExternalId()
Определения
grouptask.php:88
Bitrix\Main\GroupTaskTable\getTableName
static getTableName()
Определения
grouptask.php:48
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\Main\Entity
Определения
ufield.php:9
Bitrix\Main
bitrix
modules
main
lib
grouptask.php
Создано системой
1.14.0