1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
deletequeue.php
См. документацию.
1
<?php
2
namespace
Bitrix\Clouds;
3
4
use Bitrix\Main\Localization\Loc;
5
use Bitrix\Main\ORM\Data\DataManager;
6
use Bitrix\Main\ORM\Fields;
7
22
23
class
DeleteQueueTable
extends
DataManager
24
{
30
public
static
function
getTableName
()
31
{
32
return
'b_clouds_delete_queue'
;
33
}
34
40
public
static
function
getMap
()
41
{
42
return
[
43
new
Fields\IntegerField
(
44
'ID'
,
45
[
46
'primary'
=>
true
,
47
'autocomplete'
=>
true
,
48
'title'
=> Loc::getMessage(
'DELETE_QUEUE_ENTITY_ID_FIELD'
),
49
]
50
),
51
new
Fields\DatetimeField
(
52
'TIMESTAMP_X'
,
53
[
54
'required'
=>
true
,
55
'title'
=> Loc::getMessage(
'DELETE_QUEUE_ENTITY_TIMESTAMP_X_FIELD'
),
56
]
57
),
58
new
Fields\IntegerField
(
59
'BUCKET_ID'
,
60
[
61
'required'
=>
true
,
62
'title'
=> Loc::getMessage(
'DELETE_QUEUE_ENTITY_BUCKET_ID_FIELD'
),
63
]
64
),
65
new
Fields\StringField
(
66
'FILE_PATH'
,
67
[
68
'required'
=>
true
,
69
'validation'
=> [__CLASS__,
'validateFilePath'
],
70
'title'
=> Loc::getMessage(
'DELETE_QUEUE_ENTITY_FILE_PATH_FIELD'
),
71
]
72
),
73
new
Fields\Relations\Reference
(
74
'BUCKET'
,
75
'\Bitrix\Clouds\FileBucket'
,
76
[
'=this.BUCKET_ID'
=>
'ref.ID'
],
77
[
'join_type'
=>
'LEFT'
]
78
),
79
];
80
}
81
87
public
static
function
validateFilePath
():
array
88
{
89
return
[
90
new
Fields\Validators\LengthValidator
(
null
, 500),
91
];
92
}
93
}
Bitrix\Clouds\DeleteQueueTable
Определения
deletequeue.php:24
Bitrix\Clouds\DeleteQueueTable\getMap
static getMap()
Определения
deletequeue.php:40
Bitrix\Clouds\DeleteQueueTable\validateFilePath
static validateFilePath()
Определения
deletequeue.php:87
Bitrix\Clouds\DeleteQueueTable\getTableName
static getTableName()
Определения
deletequeue.php:30
Bitrix\Main\ORM\Data\DataManager
Определения
datamanager.php:35
Bitrix\Main\ORM\Fields\DatetimeField
Определения
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Определения
integerfield.php:20
Bitrix\Main\ORM\Fields\Relations\Reference
Определения
reference.php:26
Bitrix\Main\ORM\Fields\StringField
Определения
stringfield.php:20
Bitrix\Main\ORM\Fields\Validators\LengthValidator
Определения
lengthvalidator.php:19
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
modules
clouds
lib
deletequeue.php
Создано системой
1.14.0