1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
messageclosure.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Mail\Internals;
4
5
use Bitrix\Main\Entity;
6
23
class
MessageClosureTable
extends
Entity\DataManager
24
{
25
26
public
static
function
getFilePath
()
27
{
28
return
__FILE__;
29
}
30
31
public
static
function
getTableName
()
32
{
33
return
'b_mail_message_closure'
;
34
}
35
36
public
static
function
getMap
()
37
{
38
return
array
(
39
'MESSAGE_ID'
=>
array
(
40
'data_type'
=>
'integer'
,
41
'primary'
=>
true
,
42
),
43
'PARENT_ID'
=>
array
(
44
'data_type'
=>
'integer'
,
45
'primary'
=>
true
,
46
),
47
);
48
}
49
57
public
static
function
insertIgnoreFromSelect
(
string
$fromSelect): int
58
{
59
return
self::insertIgnoreFromSql
(
"($fromSelect)"
);
60
}
61
69
public
static
function
insertIgnoreFromSql
(
string
$sql): int
70
{
71
$connection
=
\Bitrix\Main\Application::getConnection
();
72
$sql =
$connection
->getSqlHelper()
73
->getInsertIgnore(self::getTableName(),
' (MESSAGE_ID, PARENT_ID) '
, $sql);
74
$connection
->query($sql);
75
76
return
$connection
->getAffectedRowsCount();
77
}
78
79
}
$connection
$connection
Определения
actionsdefinitions.php:38
Bitrix\Mail\Internals\MessageClosureTable
Определения
messageclosure.php:24
Bitrix\Mail\Internals\MessageClosureTable\getMap
static getMap()
Определения
messageclosure.php:36
Bitrix\Mail\Internals\MessageClosureTable\getFilePath
static getFilePath()
Определения
messageclosure.php:26
Bitrix\Mail\Internals\MessageClosureTable\insertIgnoreFromSql
static insertIgnoreFromSql(string $sql)
Определения
messageclosure.php:69
Bitrix\Mail\Internals\MessageClosureTable\insertIgnoreFromSelect
static insertIgnoreFromSelect(string $fromSelect)
Определения
messageclosure.php:57
Bitrix\Mail\Internals\MessageClosureTable\getTableName
static getTableName()
Определения
messageclosure.php:31
Bitrix\Main\Application\getConnection
static getConnection($name="")
Определения
application.php:638
Bitrix\Main\ORM\Data\DataManager
Определения
datamanager.php:35
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
mail
lib
internals
messageclosure.php
Создано системой
1.14.0