Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
postdecode.php
1
<?php
2
3
namespace
Bitrix\Main\Engine\ActionFilter
;
4
5
use
Bitrix\Main\Event
;
6
use
Bitrix\Main\Web\PostDecodeFilter
;
7
8
final
class
PostDecode
extends
Base
9
{
10
public
function
onBeforeAction
(
Event
$event)
11
{
12
$httpRequest = $this->
getAction
()->getController()->getRequest();
13
if
($httpRequest && $httpRequest->isPost())
14
{
15
\CUtil::jSPostUnescape();
16
$httpRequest->addFilter(
new
PostDecodeFilter
);
17
}
18
}
19
}
Bitrix\Main\Engine\ActionFilter\Base
Definition
base.php:15
Bitrix\Main\Engine\ActionFilter\Base\getAction
getAction()
Definition
base.php:48
Bitrix\Main\Engine\ActionFilter\PostDecode
Definition
postdecode.php:9
Bitrix\Main\Engine\ActionFilter\PostDecode\onBeforeAction
onBeforeAction(Event $event)
Definition
postdecode.php:10
Bitrix\Main\Event
Definition
event.php:5
Bitrix\Main\Web\PostDecodeFilter
Definition
postdecodefilter.php:10
Bitrix\Main\Engine\ActionFilter
Definition
authentication.php:4
modules
main
lib
engine
actionfilter
postdecode.php
Создано системой
1.10.0