1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
DebuggerSessionTemplateShardsTable.php
См. документацию.
1<?php
2
3namespace Bitrix\Bizproc\Debugger\Session\Entity;
4
5use Bitrix\Bizproc\Debugger\Session\TemplateShards;
6use Bitrix\Bizproc\Workflow\Template\Entity\WorkflowTemplateTable;
7use Bitrix\Main\Entity;
8use Bitrix\Main\ORM\Data\DataManager;
9use Bitrix\Main\ORM\Fields\ArrayField;
10use Bitrix\Main\ORM\Fields\DatetimeField;
11use Bitrix\Main\ORM\Fields\EnumField;
12use Bitrix\Main\ORM\Fields\IntegerField;
13use Bitrix\Main\ORM\Fields\Relations\Reference;
14use Bitrix\Main\ORM\Query\Join;
15
33{
34 public static function getTableName(): string
35 {
36 return 'b_bp_debugger_session_template_shards';
37 }
38
39 public static function getObjectClass(): string
40 {
41 return TemplateShards::class;
42 }
43
44 public static function getMap(): array
45 {
46 return [
47 (new Entity\IntegerField('ID'))
48 ->configurePrimary()
49 ->configureAutocomplete(),
50
51 (new IntegerField('TEMPLATE_ID'))
52 ->configureRequired(),
53 new Reference(
54 'TEMPLATE',
55 WorkflowTemplateTable::class,
56 Join::on('this.TEMPLATE_ID', 'ref.ID')
57 ),
58
59 (new ArrayField('SHARDS'))
60 ->configureSerializeCallback([WorkflowTemplateTable::class, 'toSerializedForm'])
61 ->configureUnserializeCallback([WorkflowTemplateTable::class, 'getFromSerializedForm']),
62 (new EnumField('TEMPLATE_TYPE'))
63 ->configureRequired()
65
66 (new DatetimeField('MODIFIED'))
67 ->configureRequired(),
68 ];
69 }
70}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804