1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
type.php
См. документацию.
1<?php
8namespace Bitrix\Sale\Location\Name;
9
10use Bitrix\Main;
11use Bitrix\Main\Entity;
12use Bitrix\Sale\Location;
13use Bitrix\Main\Localization\Loc;
14
15Loc::loadMessages(__FILE__);
16
33class TypeTable extends NameEntity
34{
35 public static function getFilePath()
36 {
37 return __FILE__;
38 }
39
40 public static function getTableName()
41 {
42 return 'b_sale_loc_type_name';
43 }
44
45 public static function getReferenceFieldName()
46 {
47 return 'TYPE_ID';
48 }
49
50 public static function getMap()
51 {
52 return array(
53
54 'ID' => array(
55 'data_type' => 'integer',
56 'primary' => true,
57 'autocomplete' => true,
58 ),
59 'NAME' => array(
60 'data_type' => 'string',
61 'required' => true,
62 'title' => Loc::getMessage('SALE_LOCATION_NAME_TYPE_ENTITY_SHORT_NAME_FIELD')
63 ),
64 'LANGUAGE_ID' => array(
65 'data_type' => 'string',
66 'required' => true,
67 'title' => Loc::getMessage('SALE_LOCATION_NAME_TYPE_ENTITY_SHORT_LANGUAGE_ID_FIELD')
68 ),
69
70 'TYPE_ID' => array(
71 'data_type' => 'integer',
72 'title' => Loc::getMessage('SALE_LOCATION_NAME_TYPE_ENTITY_SHORT_TYPE_ID_FIELD')
73 ),
74 'TYPE' => array(
75 'data_type' => '\Bitrix\Sale\Location\Type',
76 'required' => true,
77 'reference' => array(
78 '=this.TYPE_ID' => 'ref.ID'
79 )
80 ),
81
82 'CNT' => array(
83 'data_type' => 'integer',
84 'expression' => array(
85 'count(*)'
86 )
87 ),
88 );
89 }
90}
static getMap()
Определения type.php:50
static getFilePath()
Определения type.php:35
static getReferenceFieldName()
Определения type.php:45
static getTableName()
Определения type.php:40
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804