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