Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
orderdeliveryreq.php
1
<?php
2
namespace
Bitrix\Sale\Internals
;
3
4
5
use
Bitrix\Main
;
6
7
Main\Localization\Loc::loadMessages(__FILE__);
8
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\Catalog\Model\Entity
Definition
entity.php:12
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Sale\Internals\OrderDeliveryReqTable
Definition
orderdeliveryreq.php:38
Bitrix\Sale\Internals\OrderDeliveryReqTable\getMap
static getMap()
Definition
orderdeliveryreq.php:44
Bitrix\Sale\Internals\OrderDeliveryReqTable\validateLocation
static validateLocation()
Definition
orderdeliveryreq.php:79
Bitrix\Sale\Internals\OrderDeliveryReqTable\getTableName
static getTableName()
Definition
orderdeliveryreq.php:39
Bitrix\Main
Bitrix\Sale\Internals
Definition
accountnumber.php:3
modules
sale
lib
internals
orderdeliveryreq.php
Создано системой
1.10.0