1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
server.php
См. документацию.
1
<?php
9
namespace
Bitrix\Security\Filter;
10
11
use Bitrix\Main\Type\IRequestFilter;
12
19
class
Server
20
extends
Request
21
implements
IRequestFilter
22
{
23
24
protected
$interestingKeys
=
array
(
'REQUEST_URI'
,
'QUERY_STRING'
,
'SCRIPT_URL'
,
'SCRIPT_URI'
,
'PHP_SELF'
);
25
34
public
function
filter
(
array
$values, $isReturnChangedOnly =
true
)
35
{
36
$this->
onFilterStarted
();
37
38
foreach
($values as
$key
=> &
$val
)
39
{
40
if
(
41
substr(
$key
, 0, 5) ===
'HTTP_'
42
|| in_array(
$key
, $this->interestingKeys,
true
)
43
)
44
{
45
$val
= $this->
filterVar
(
'server'
,
$val
,
'$_SERVER["'
.
$key
.
'"]'
);
46
}
47
48
}
49
unset(
$val
);
50
51
$this->
onFilterFinished
();
52
53
if
(!$isReturnChangedOnly || isset($this->changedContext[
'server'
]))
54
return
$values;
55
else
56
return
null
;
57
}
58
}
Bitrix\Security\Filter\Request
Определения
request.php:22
Bitrix\Security\Filter\Request\onFilterStarted
onFilterStarted()
Определения
request.php:179
Bitrix\Security\Filter\Request\onFilterFinished
onFilterFinished()
Определения
request.php:186
Bitrix\Security\Filter\Request\filterVar
filterVar($context, $value, $name)
Определения
request.php:196
Bitrix\Security\Filter\Server
Определения
server.php:22
Bitrix\Security\Filter\Server\$interestingKeys
$interestingKeys
Определения
server.php:24
Bitrix\Security\Filter\Server\filter
filter(array $values, $isReturnChangedOnly=true)
Определения
server.php:34
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\Type\IRequestFilter
Определения
irequestfilter.php:5
$key
if(empty($signedUserToken)) $key
Определения
quickway.php:257
$val
$val
Определения
options.php:1793
bitrix
modules
security
lib
filter
server.php
Создано системой
1.14.0