Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
externalservice.php
1
<?php
8
namespace
Bitrix\Sale\Location
;
9
10
use
Bitrix\Main
;
11
use
Bitrix\Main\Entity
;
12
use
Bitrix\Main\Localization\Loc
;
13
14
Loc::loadMessages
(__FILE__);
15
32
class
ExternalServiceTable
extends
Entity\DataManager
33
{
34
public
static
function
getFilePath
()
35
{
36
return
__FILE__;
37
}
38
39
public
static
function
getTableName
()
40
{
41
return
'b_sale_loc_ext_srv'
;
42
}
43
44
public
static
function
getMap
()
45
{
46
return
array(
47
48
'ID'
=> array(
49
'data_type'
=>
'integer'
,
50
'primary'
=>
true
,
51
'autocomplete'
=>
true
,
52
),
53
54
'CODE'
=> array(
55
'data_type'
=>
'string'
,
56
'required'
=>
true
,
57
'title'
=>
Loc::getMessage
(
'SALE_LOCATION_EXTERNAL_SERVICE_ENTITY_CODE_FIELD'
)
58
),
59
60
// virtual
61
'EXTERNAL'
=> array(
62
'data_type'
=>
'\Bitrix\Sale\Location\External'
,
63
'reference'
=> array(
64
'=this.ID'
=>
'ref.SERVICE_ID'
65
)
66
),
67
);
68
}
69
}
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Sale\Location\ExternalServiceTable
Definition
externalservice.php:33
Bitrix\Sale\Location\ExternalServiceTable\getMap
static getMap()
Definition
externalservice.php:44
Bitrix\Sale\Location\ExternalServiceTable\getFilePath
static getFilePath()
Definition
externalservice.php:34
Bitrix\Sale\Location\ExternalServiceTable\getTableName
static getTableName()
Definition
externalservice.php:39
Bitrix\Main
Bitrix\Sale\Location
modules
sale
lib
location
externalservice.php
Создано системой
1.10.0