1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
jscode.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\UI\Buttons;
4
5
final
class
JsCode
implements
\JsonSerializable
6
{
10
private
$code;
11
16
public
function
__construct
($code)
17
{
18
$this->
setCode
($code);
19
}
20
24
public
function
getCode
()
25
{
26
return
$this->code
;
27
}
28
34
public
function
setCode
($code)
35
{
36
if
(is_string($code))
37
{
38
$this->code = $code;
39
}
40
41
return
$this;
42
}
43
51
public
function
jsonSerialize
()
52
{
53
return
[
54
'code'
=> $this->
getCode
(),
55
];
56
}
57
}
Bitrix\UI\Buttons\JsCode
Определения
jscode.php:6
Bitrix\UI\Buttons\JsCode\setCode
setCode($code)
Определения
jscode.php:34
Bitrix\UI\Buttons\JsCode\__construct
__construct($code)
Определения
jscode.php:16
Bitrix\UI\Buttons\JsCode\getCode
getCode()
Определения
jscode.php:24
Bitrix\UI\Buttons\JsCode\jsonSerialize
jsonSerialize()
Определения
jscode.php:51
$code
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения
options.php:195
bitrix
modules
ui
lib
buttons
jscode.php
Создано системой
1.14.0