1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
parameterdictionary.php
См. документацию.
1<?php
2
3namespace Bitrix\Main\Type;
4
5use Bitrix\Main\NotSupportedException;
6
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}
setValuesNoDemand(array $values)
Определения parameterdictionary.php:14
offsetSet($offset, $value)
Определения parameterdictionary.php:57
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$name
Определения menu_edit.php:35