1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
orderdeliveryreq.php
См. документацию.
1
<?php
2
namespace
Bitrix\Sale\Internals;
3
4
5
use Bitrix\Main;
6
7
Main\Localization\Loc::loadMessages
(__FILE__);
8
36
37
class
OrderDeliveryReqTable
extends
Main\Entity\DataManager
38
{
39
public
static
function
getTableName
()
40
{
41
return
'b_sale_order_delivery_req'
;
42
}
43
44
public
static
function
getMap
()
45
{
46
return
array
(
47
'ID'
=>
array
(
48
'data_type'
=>
'integer'
,
49
'primary'
=>
true
,
50
'autocomplete'
=>
true
,
51
'title'
=>
Main
\
Localization
\Loc::getMessage(
'ORDERDELIVERY_ENTITY_ID_FIELD'
),
52
),
53
'ORDER_ID'
=>
array
(
54
'data_type'
=>
'integer'
,
55
'required'
=>
true
,
56
'title'
=>
Main
\
Localization
\Loc::getMessage(
'ORDERDELIVERY_ENTITY_ORDER_ID_FIELD'
),
57
),
58
'DELIVERY_LOCATION'
=>
array
(
59
'data_type'
=>
'string'
,
60
'validation'
=>
array
(__CLASS__,
'validateLocation'
),
61
'title'
=>
Main
\
Localization
\Loc::getMessage(
'ORDERDELIVERY_ENTITY_HID_FIELD'
),
62
),
63
'DATE_REQUEST'
=>
array
(
64
'data_type'
=>
'datetime'
,
65
'title'
=>
Main
\
Localization
\Loc::getMessage(
'ORDERDELIVERY_ENTITY_DATE_REQUEST_FIELD'
),
66
),
67
'PARAMS'
=>
array
(
68
'data_type'
=>
'text'
,
69
'serialized'
=>
true
,
70
'title'
=>
Main
\
Localization
\Loc::getMessage(
'ORDERDELIVERY_ENTITY_PARAMS_FIELD'
),
71
),
72
'SHIPMENT_ID'
=>
array
(
73
'data_type'
=>
'integer'
,
74
'title'
=>
Main
\
Localization
\Loc::getMessage(
'ORDERDELIVERY_ENTITY_SHIPMENT_ID_FIELD'
),
75
)
76
);
77
}
78
79
public
static
function
validateLocation
()
80
{
81
return
array
(
82
new
Main
\
Entity
\
Validator
\Length(
null
, 50),
83
);
84
}
85
}
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Определения
loc.php:65
Bitrix\Main\ORM\Fields\Validators\Validator
Определения
validator.php:18
Bitrix\Sale\Internals\OrderDeliveryReqTable
Определения
orderdeliveryreq.php:38
Bitrix\Sale\Internals\OrderDeliveryReqTable\getMap
static getMap()
Определения
orderdeliveryreq.php:44
Bitrix\Sale\Internals\OrderDeliveryReqTable\validateLocation
static validateLocation()
Определения
orderdeliveryreq.php:79
Bitrix\Sale\Internals\OrderDeliveryReqTable\getTableName
static getTableName()
Определения
orderdeliveryreq.php:39
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\Localization
Определения
culture.php:8
Bitrix\Main
bitrix
modules
sale
lib
internals
orderdeliveryreq.php
Создано системой
1.14.0