1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
context.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Sync\Util;
4
5
use Bitrix\Calendar\Sync;
6
use Bitrix\Calendar\Core;
7
17
class
Context
18
{
22
private
array
$data;
23
24
public
function
__construct
(
array
$data = [])
25
{
26
$this->data = $data;
27
}
28
29
public
function
__get
(
$name
)
30
{
31
return
$this->data[
$name
] ??
null
;
32
}
33
34
public
function
__set
(
$name
, $value)
35
{
36
$this->data[
$name
] = $value;
37
}
38
39
public
function
__isset
(
$name
)
40
{
41
return
isset($this->data[
$name
]);
42
}
43
53
public
function
add
(
string
$type
,
string
$property, $value):
Context
54
{
55
$this->data[
$type
][$property] = $value;
56
57
return
$this;
58
}
59
66
public
function
merge
(
Context
$context
):
Context
67
{
68
$this->data = array_merge($this->data,
$context
->data);
69
70
return
$this;
71
}
72
78
public
function
getByKey
(
string
$key
)
79
{
80
if
(isset($this->data[
$key
]))
81
{
82
return
null
;
83
}
84
85
return
$this->data[
$key
];
86
}
87
}
$type
$type
Определения
options.php:106
Bitrix\Calendar\Sync\Util\Context\merge
merge(Context $context)
Определения
context.php:66
Bitrix\Calendar\Sync\Util\Context\__set
__set($name, $value)
Определения
context.php:34
Bitrix\Calendar\Sync\Util\Context\__isset
__isset($name)
Определения
context.php:39
Bitrix\Calendar\Sync\Util\Context\__construct
__construct(array $data=[])
Определения
context.php:24
Bitrix\Calendar\Sync\Util\Context\__get
__get($name)
Определения
context.php:29
Bitrix\Calendar\Sync\Util\Context\add
add(string $type, string $property, $value)
Определения
context.php:53
Bitrix\Calendar\Sync\Util\Context\getByKey
getByKey(string $key)
Определения
context.php:78
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$context
$context
Определения
csv_new_setup.php:223
$name
$name
Определения
menu_edit.php:35
Bitrix\Main\Context
Определения
culture.php:9
$key
if(empty($signedUserToken)) $key
Определения
quickway.php:257
bitrix
modules
calendar
lib
sync
util
context.php
Создано системой
1.14.0