1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
context.php
См. документацию.
1
<?php
8
namespace
Bitrix\Main\Mail;
9
10
class
Context
11
{
12
const
CAT_EXTERNAL
= 1;
13
const
PRIORITY_HIGH
= 1;
14
const
PRIORITY_NORMAL
= 2;
15
const
PRIORITY_LOW
= 3;
16
17
protected
$category
;
18
protected
$priority
;
19
21
protected
$smtp
;
22
24
protected
$callback
;
25
26
protected
$keepAlive
;
27
28
public
function
__construct
(
array
$params
=
null
)
29
{
30
if
(!empty(
$params
))
31
{
32
foreach
(
$params
as
$name
=> $value)
33
{
34
$setter = sprintf(
'set%s'
,
$name
);
35
if
(is_callable(
array
($this, $setter)))
36
{
37
$this->$setter($value);
38
}
39
}
40
}
41
}
42
47
public
function
setCategory
(
$category
)
48
{
49
$this->category =
$category
;
50
return
$this;
51
}
52
56
public
function
getCategory
()
57
{
58
return
$this->category;
59
}
60
65
public
function
setSmtp
(
Smtp
\
Config
$config
)
66
{
67
$this->smtp =
$config
;
68
return
$this;
69
}
70
74
public
function
getSmtp
()
75
{
76
return
$this->smtp;
77
}
78
83
public
function
setPriority
(
$priority
)
84
{
85
$this->priority =
$priority
;
86
return
$this;
87
}
88
92
public
function
getPriority
()
93
{
94
return
$this->priority;
95
}
96
103
public
function
setCallback
(
Callback
\
Config
$config
)
104
{
105
$this->
callback
=
$config
;
106
return
$this;
107
}
108
114
public
function
getCallback
()
115
{
116
return
$this->callback;
117
}
118
122
public
function
getKeepAlive
(): ?string
123
{
124
return
$this->keepAlive;
125
}
126
130
public
function
setKeepAlive
(?
string
$keepAlive
)
131
{
132
$this->keepAlive =
$keepAlive
;
133
}
134
}
Bitrix\Main\Mail\Context\$category
$category
Определения
context.php:17
Bitrix\Main\Mail\Context\getPriority
getPriority()
Определения
context.php:92
Bitrix\Main\Mail\Context\PRIORITY_HIGH
const PRIORITY_HIGH
Определения
context.php:13
Bitrix\Main\Mail\Context\$priority
$priority
Определения
context.php:18
Bitrix\Main\Mail\Context\setCategory
setCategory($category)
Определения
context.php:47
Bitrix\Main\Mail\Context\PRIORITY_LOW
const PRIORITY_LOW
Определения
context.php:15
Bitrix\Main\Mail\Context\__construct
__construct(array $params=null)
Определения
context.php:28
Bitrix\Main\Mail\Context\setSmtp
setSmtp(Smtp\Config $config)
Определения
context.php:65
Bitrix\Main\Mail\Context\CAT_EXTERNAL
const CAT_EXTERNAL
Определения
context.php:12
Bitrix\Main\Mail\Context\setPriority
setPriority($priority)
Определения
context.php:83
Bitrix\Main\Mail\Context\getKeepAlive
getKeepAlive()
Определения
context.php:122
Bitrix\Main\Mail\Context\PRIORITY_NORMAL
const PRIORITY_NORMAL
Определения
context.php:14
Bitrix\Main\Mail\Context\$smtp
$smtp
Определения
context.php:21
Bitrix\Main\Mail\Context\$callback
$callback
Определения
context.php:24
Bitrix\Main\Mail\Context\setKeepAlive
setKeepAlive(?string $keepAlive)
Определения
context.php:130
Bitrix\Main\Mail\Context\getSmtp
getSmtp()
Определения
context.php:74
Bitrix\Main\Mail\Context\getCallback
getCallback()
Определения
context.php:114
Bitrix\Main\Mail\Context\getCategory
getCategory()
Определения
context.php:56
Bitrix\Main\Mail\Context\setCallback
setCallback(Callback\Config $config)
Определения
context.php:103
Bitrix\Main\Mail\Context\$keepAlive
$keepAlive
Определения
context.php:26
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$name
$name
Определения
menu_edit.php:35
Bitrix\Main\Config
Определения
configuration.php:3
Bitrix\Main\Context
Определения
culture.php:9
Bitrix\Main\Mail\Callback
Определения
config.php:2
Bitrix\Main\Mail\Smtp
Определения
cloudoauthrefreshdata.php:3
$config
$config
Определения
quickway.php:69
$params
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения
template.php:799
callback
case callback
Определения
wrapper_popup.php:31
bitrix
modules
main
lib
mail
context.php
Создано системой
1.14.0