1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
RequestToEntitiesTable.php
См. документацию.
1
<?php
2
declare(strict_types=1);
3
4
namespace
Bitrix\Landing\Copilot\Model;
5
6
use Bitrix\Main\Entity;
7
use Bitrix\Main\ORM\Fields;
8
use Bitrix\Main\ORM\Query;
9
26
class
RequestToEntitiesTable
extends
Entity\DataManager
27
{
31
public
static
function
getTableName
(): string
32
{
33
return
'b_landing_copilot_request_to_entities'
;
34
}
35
39
public
static
function
getMap
():
array
40
{
41
return
[
42
(
new
Fields\IntegerField
(
'ID'
))
43
->configurePrimary()
44
->configureAutocomplete()
45
,
46
(
new
Fields\IntegerField
(
'REQUEST_ID'
))
47
->configureRequired()
48
,
49
(
new
Fields\StringField
(
'ENTITY_TYPE'
))
50
->configureRequired()
51
,
52
(
new
Fields\IntegerField
(
'LANDING_ID'
)),
53
(
new
Fields
\
IntegerField
(
'BLOCK_ID'
)),
54
(
new
Fields\StringField
(
'NODE_CODE'
)),
55
(
new
Fields
\
IntegerField
(
'POSITION'
))
56
->configureDefaultValue(0)
57
,
58
(
new
Fields\Relations\Reference
(
59
'STEP_REF'
,
60
RequestToStepTable::class,
61
Query
\Join::on(
'this.REQUEST_ID'
,
'ref.REQUEST_ID'
)
62
)),
63
(
new
Fields
\
Relations
\
Reference
(
64
'REQUEST_REF'
,
65
RequestsTable::class,
66
Query
\Join::on(
'this.REQUEST_ID'
,
'ref.ID'
)
67
)),
68
];
69
}
70
}
Bitrix\Landing\Copilot\Model\RequestToEntitiesTable
Определения
RequestToEntitiesTable.php:27
Bitrix\Landing\Copilot\Model\RequestToEntitiesTable\getMap
static getMap()
Определения
RequestToEntitiesTable.php:39
Bitrix\Landing\Copilot\Model\RequestToEntitiesTable\getTableName
static getTableName()
Определения
RequestToEntitiesTable.php:31
Bitrix\Main\ORM\Fields\IntegerField
Определения
integerfield.php:20
Bitrix\Main\ORM\Fields\Relations\Reference
Определения
reference.php:26
Bitrix\Main\ORM\Fields\StringField
Определения
stringfield.php:20
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\ORM\Fields\Relations
Определения
cascadepolicy.php:9
Bitrix\Main\ORM\Fields
Определения
arrayfield.php:9
Bitrix\Main\ORM\Query
Определения
chain.php:3
bitrix
modules
landing
lib
Copilot
Model
RequestToEntitiesTable.php
Создано системой
1.14.0