Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
AuthorizationPrefilter.php
1
<?php
2
3
namespace
Bitrix\Im\V2\Controller\Filter
;
4
5
use
Bitrix\Main\Engine\ActionFilter\Base
;
6
use
Bitrix\Main\Event
;
7
8
class
AuthorizationPrefilter
extends
Base
9
{
10
public
function
onBeforeAction
(
Event
$event)
11
{
12
global $USER;
13
if
(!$USER->IsAuthorized())
14
{
15
$USER->LoginByCookies();
16
}
17
}
18
}
Bitrix\Im\V2\Controller\Filter\AuthorizationPrefilter
Definition
AuthorizationPrefilter.php:9
Bitrix\Im\V2\Controller\Filter\AuthorizationPrefilter\onBeforeAction
onBeforeAction(Event $event)
Definition
AuthorizationPrefilter.php:10
Bitrix\Im\V2\Sync\Event
Definition
Event.php:9
Bitrix\Main\Engine\ActionFilter\Base
Definition
base.php:15
Bitrix\Main\Event
Definition
event.php:5
Bitrix\Im\V2\Controller\Filter
Definition
ActionUuidHandler.php:3
modules
im
lib
V2
Controller
Filter
AuthorizationPrefilter.php
Создано системой
1.10.0