Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
deletequeue.php
1
<?php
2
namespace
Bitrix\Clouds
;
3
4
use
Bitrix\Main
,
5
Bitrix\Main\Localization\Loc
;
6
Loc::loadMessages
(__FILE__);
7
36
class
DeleteQueueTable
extends
Main\Entity\DataManager
37
{
43
public
static
function
getTableName
()
44
{
45
return
'b_clouds_delete_queue'
;
46
}
47
53
public
static
function
getMap
()
54
{
55
return
array(
56
'ID'
=> array(
57
'data_type'
=>
'integer'
,
58
'primary'
=>
true
,
59
'autocomplete'
=>
true
,
60
'title'
=>
Loc::getMessage
(
'DELETE_QUEUE_ENTITY_ID_FIELD'
),
61
),
62
'TIMESTAMP_X'
=> array(
63
'data_type'
=>
'datetime'
,
64
'required'
=>
true
,
65
'title'
=>
Loc::getMessage
(
'DELETE_QUEUE_ENTITY_TIMESTAMP_X_FIELD'
),
66
),
67
'BUCKET_ID'
=> array(
68
'data_type'
=>
'integer'
,
69
'required'
=>
true
,
70
'title'
=>
Loc::getMessage
(
'DELETE_QUEUE_ENTITY_BUCKET_ID_FIELD'
),
71
),
72
'FILE_PATH'
=> array(
73
'data_type'
=>
'string'
,
74
'required'
=>
true
,
75
'validation'
=> array(__CLASS__,
'validateFilePath'
),
76
'title'
=>
Loc::getMessage
(
'DELETE_QUEUE_ENTITY_FILE_PATH_FIELD'
),
77
),
78
'BUCKET'
=> array(
79
'data_type'
=>
'Bitrix\Clouds\FileBucket'
,
80
'reference'
=> array(
'=this.BUCKET_ID'
=>
'ref.ID'
),
81
),
82
);
83
}
89
public
static
function
validateFilePath
()
90
{
91
return
array(
92
new
Main\
Entity
\Validator\Length(0, 500),
93
);
94
}
95
}
Bitrix\Clouds\DeleteQueueTable
Definition
deletequeue.php:37
Bitrix\Clouds\DeleteQueueTable\getMap
static getMap()
Definition
deletequeue.php:53
Bitrix\Clouds\DeleteQueueTable\validateFilePath
static validateFilePath()
Definition
deletequeue.php:89
Bitrix\Clouds\DeleteQueueTable\getTableName
static getTableName()
Definition
deletequeue.php:43
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\Clouds
Definition
copyqueue.php:2
Bitrix\Main
modules
clouds
lib
deletequeue.php
Создано системой
1.10.0