1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
parameterdictionary.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Main\Type;
4
5
use Bitrix\Main\NotSupportedException;
6
7
class
ParameterDictionary
extends
Dictionary
8
{
12
protected
$rawValues
=
null
;
13
14
protected
function
setValuesNoDemand
(
array
$values
)
15
{
16
if
($this->rawValues ===
null
)
17
{
18
$this->rawValues =
$this->values
;
19
}
20
$this->values =
$values
;
21
}
22
29
public
function
getRaw
(
$name
)
30
{
31
if
($this->rawValues ===
null
)
32
{
33
if
(isset($this->values[
$name
]) || array_key_exists(
$name
, $this->values))
34
{
35
return
$this->values[
$name
];
36
}
37
}
38
else
39
{
40
if
(isset($this->rawValues[
$name
]) || array_key_exists(
$name
, $this->rawValues))
41
{
42
return
$this->rawValues[
$name
];
43
}
44
}
45
46
return
null
;
47
}
48
49
public
function
toArrayRaw
()
50
{
51
return
$this->rawValues
;
52
}
53
57
public
function
offsetSet
($offset, $value)
58
{
59
throw
new
NotSupportedException
(
"Can not set readonly values."
);
60
}
61
65
public
function
offsetUnset
($offset): void
66
{
67
throw
new
NotSupportedException
(
"Can not unset readonly values."
);
68
}
69
70
public
function
setValues
(
$values
)
71
{
72
throw
new
NotSupportedException
(
"Can not set readonly values."
);
73
}
74
}
Bitrix\Main\NotSupportedException
Определения
NotSupportedException.php:9
Bitrix\Main\Type\Dictionary
Определения
dictionary.php:6
Bitrix\Main\Type\Dictionary\$values
$values
Определения
dictionary.php:10
Bitrix\Main\Type\ParameterDictionary
Определения
parameterdictionary.php:8
Bitrix\Main\Type\ParameterDictionary\toArrayRaw
toArrayRaw()
Определения
parameterdictionary.php:49
Bitrix\Main\Type\ParameterDictionary\offsetUnset
offsetUnset($offset)
Определения
parameterdictionary.php:65
Bitrix\Main\Type\ParameterDictionary\setValues
setValues($values)
Определения
parameterdictionary.php:70
Bitrix\Main\Type\ParameterDictionary\setValuesNoDemand
setValuesNoDemand(array $values)
Определения
parameterdictionary.php:14
Bitrix\Main\Type\ParameterDictionary\getRaw
getRaw($name)
Определения
parameterdictionary.php:29
Bitrix\Main\Type\ParameterDictionary\offsetSet
offsetSet($offset, $value)
Определения
parameterdictionary.php:57
Bitrix\Main\Type\ParameterDictionary\$rawValues
$rawValues
Определения
parameterdictionary.php:12
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
modules
main
lib
type
parameterdictionary.php
Создано системой
1.14.0