Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
queue.php
1<?php
2
4
7
8Loc::loadMessages(__FILE__);
9
37class 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}
static loadMessages($file)
Definition loc.php:64
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29