Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
queue.php
1
<?php
2
3
namespace
Bitrix\Sale\TradingPlatform\Ebay\Feed
;
4
5
use
Bitrix\Main\Entity
;
6
use
Bitrix\Main\Localization\Loc
;
7
8
Loc::loadMessages
(__FILE__);
9
37
class
QueueTable
extends
Entity\DataManager
38
{
39
public
static
function
getFilePath
()
40
{
41
return
__FILE__;
42
}
43
44
public
static
function
getTableName
()
45
{
46
return
'b_sale_tp_ebay_fq'
;
47
}
48
49
public
static
function
getMap
()
50
{
51
return
array(
52
'ID'
=> array(
53
'data_type'
=>
'integer'
,
54
'primary'
=>
true
,
55
'autocomplete'
=>
true
,
56
'title'
=>
Loc::getMessage
(
'TRADING_PLATFORM_EBAY_FEED_QUEUE_ENTITY_ID_FIELD'
),
57
),
58
'FEED_TYPE'
=> array(
59
'data_type'
=>
'string'
,
60
'required'
=>
true
,
61
'validation'
=> array(__CLASS__,
'validateFeedType'
),
62
'title'
=>
Loc::getMessage
(
'TRADING_PLATFORM_EBAY_FEED_QUEUE_ENTITY_FEED_TYPE_FIELD'
),
63
),
64
'DATA'
=> array(
65
'data_type'
=>
'text'
,
66
'title'
=>
Loc::getMessage
(
'TRADING_PLATFORM_EBAY_FEED_QUEUE_ENTITY_DATA_FIELD'
),
67
),
68
);
69
}
70
public
static
function
validateFeedType
()
71
{
72
return
array(
73
new
Entity
\Validator\Length(
null
, 50),
74
);
75
}
76
}
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\TradingPlatform\Ebay\Feed\QueueTable
Definition
queue.php:38
Bitrix\Sale\TradingPlatform\Ebay\Feed\QueueTable\getMap
static getMap()
Definition
queue.php:49
Bitrix\Sale\TradingPlatform\Ebay\Feed\QueueTable\getFilePath
static getFilePath()
Definition
queue.php:39
Bitrix\Sale\TradingPlatform\Ebay\Feed\QueueTable\validateFeedType
static validateFeedType()
Definition
queue.php:70
Bitrix\Sale\TradingPlatform\Ebay\Feed\QueueTable\getTableName
static getTableName()
Definition
queue.php:44
Bitrix\Sale\TradingPlatform\Ebay\Feed
modules
sale
lib
tradingplatform
ebay
feed
queue.php
Создано системой
1.10.0