1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
scriptqueuedocument.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Bizproc\Script\Entity;
4
5
use Bitrix\Main;
6
23
class
ScriptQueueDocumentTable
extends
Main\Entity\DataManager
24
{
28
public
static
function
getTableName
()
29
{
30
return
'b_bp_script_queue_document'
;
31
}
32
36
public
static
function
getMap
()
37
{
38
return
[
39
'ID'
=> [
40
'data_type'
=>
'integer'
,
41
'primary'
=>
true
,
42
'autocomplete'
=>
true
,
43
],
44
'QUEUE_ID'
=> [
45
'data_type'
=>
'integer'
46
],
47
'DOCUMENT_ID'
=> [
48
'data_type'
=>
'string'
49
],
50
'WORKFLOW_ID'
=> [
51
'data_type'
=>
'string'
52
],
53
'STATUS'
=> [
54
'data_type'
=>
'integer'
55
],
56
'STATUS_MESSAGE'
=> [
57
'data_type'
=>
'string'
58
],
59
'QUEUE'
=> [
60
'data_type'
=> ScriptQueueTable::class,
61
'reference'
=>
array
(
62
'=this.QUEUE_ID'
=>
'ref.ID'
63
),
64
]
65
];
66
}
67
68
public
static
function
deleteByQueue
(
int
$queueId)
69
{
70
$result
= static::getList([
'filter'
=> [
'=QUEUE_ID'
=> $queueId],
'select'
=> [
'ID'
]]);
71
72
foreach
(
$result
as $row)
73
{
74
static::delete($row[
'ID'
]);
75
}
76
}
77
}
Bitrix\Bizproc\Script\Entity\ScriptQueueDocumentTable
Определения
scriptqueuedocument.php:24
Bitrix\Bizproc\Script\Entity\ScriptQueueDocumentTable\getMap
static getMap()
Определения
scriptqueuedocument.php:36
Bitrix\Bizproc\Script\Entity\ScriptQueueDocumentTable\deleteByQueue
static deleteByQueue(int $queueId)
Определения
scriptqueuedocument.php:68
Bitrix\Bizproc\Script\Entity\ScriptQueueDocumentTable\getTableName
static getTableName()
Определения
scriptqueuedocument.php:28
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$result
$result
Определения
get_property_values.php:14
bitrix
modules
bizproc
lib
script
entity
scriptqueuedocument.php
Создано системой
1.14.0