Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
ActionUuidHandler.php
1
<?php
2
3
namespace
Bitrix\Im\V2\Controller\Filter
;
4
5
use
Bitrix\Im\V2\ActionUuid
;
6
use
Bitrix\Main\Engine\ActionFilter\Base
;
7
use
Bitrix\Main\Event
;
8
9
class
ActionUuidHandler
extends
Base
10
{
11
public
function
onBeforeAction
(
Event
$event)
12
{
13
$actionUuid = $this->
getAction
()->getBinder()->getSourcesParametersToMap()[0][
'actionUuid'
] ??
null
;
14
15
if
(isset($actionUuid))
16
{
17
ActionUuid::getInstance
()->setValue($actionUuid);
18
}
19
20
return
null
;
21
}
22
}
Bitrix\Im\V2\ActionUuid
Definition
ActionUuid.php:8
Bitrix\Im\V2\ActionUuid\getInstance
static getInstance()
Definition
ActionUuid.php:17
Bitrix\Im\V2\Controller\Filter\ActionUuidHandler
Definition
ActionUuidHandler.php:10
Bitrix\Im\V2\Controller\Filter\ActionUuidHandler\onBeforeAction
onBeforeAction(Event $event)
Definition
ActionUuidHandler.php:11
Bitrix\Im\V2\Sync\Event
Definition
Event.php:9
Bitrix\Main\Engine\ActionFilter\Base
Definition
base.php:15
Bitrix\Main\Engine\ActionFilter\Base\getAction
getAction()
Definition
base.php:48
Bitrix\Main\Event
Definition
event.php:5
Bitrix\Im\V2\Controller\Filter
Definition
ActionUuidHandler.php:3
modules
im
lib
V2
Controller
Filter
ActionUuidHandler.php
Создано системой
1.10.0