1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
rss.php
См. документацию.
1
<?php
2
const
ADMIN_SECTION
=
true
;
3
4
use
Bitrix\Main\Context
;
5
use
Bitrix\Main\Loader
;
6
7
require(
$_SERVER
[
'DOCUMENT_ROOT'
] .
'/bitrix/modules/main/include/prolog_before.php'
);
8
header(
"Content-Type: text/xml"
);
9
if
(!Loader::includeModule(
'iblock'
))
10
{
11
return
;
12
}
13
14
$request
= Context::getCurrent()->getRequest();
15
16
$rawId
=
$request
->get(
'ID'
);
17
if
((
int
)
$rawId
> 0)
18
{
19
$ID
= (int)
$rawId
;
20
}
21
else
22
{
23
$ID
= trim(
$rawId
);
24
}
25
26
$LANG
= trim((
string
)
$request
->get(
'LANG'
));
27
$TYPE
= trim((
string
)
$request
->get(
'TYPE'
));
28
$LIMIT
= (int)(
$request
->get(
'LIMIT'
));
29
30
CIBlockRSS::GetRSS
(
$ID
,
$LANG
,
$TYPE
,
$LIMIT
,
false
,
false
);
31
32
CMain::FinalActions();
$request
if(!Loader::includeModule('catalog')) if(!AccessController::getCurrent() ->check(ActionDictionary::ACTION_PRICE_EDIT)) if(!check_bitrix_sessid()) $request
Определения
catalog_reindex.php:36
Bitrix\Main\Loader
Определения
loader.php:13
CAllIBlockRSS\GetRSS
static GetRSS($ID, $LANG, $TYPE, $LIMIT_NUM=false, $LIMIT_DAY=false, $yandex=false)
Определения
iblockrss.php:315
$ID
if($ajaxMode) $ID
Определения
get_user.php:27
$_SERVER
$_SERVER["DOCUMENT_ROOT"]
Определения
cron_frame.php:9
Bitrix\Main\Context
Определения
culture.php:9
$LIMIT
$LIMIT
Определения
rss.php:28
$TYPE
$TYPE
Определения
rss.php:27
$rawId
$rawId
Определения
rss.php:16
ADMIN_SECTION
const ADMIN_SECTION
Определения
rss.php:2
$LANG
$LANG
Определения
rss.php:26
bitrix
modules
iblock
rss.php
Создано системой
1.14.0