Exception
Массив ID элементов не должен быть пустым Exception thrown with message "Массив ID элементов не должен быть пустым" Stacktrace: #24 Exception in /var/www/prod/local/components/3dots/catalog.base/class.php:180 #23 CCatalogBase:getFilteredProducts in /var/www/prod/local/components/3dots/catalog.section/class.php:147 #22 CUniversalList:executeComponent in /var/www/prod/bitrix/modules/main/classes/general/component.php:638 #21 CBitrixComponent:includeComponent in /var/www/prod/bitrix/modules/main/classes/general/main.php:1038 #20 CAllMain:IncludeComponent in /var/www/prod/local/templates/.default/components/bitrix/news.detail/articles/template.php:33 #19 include in /var/www/prod/bitrix/modules/main/classes/general/component_template.php:720 #18 CBitrixComponentTemplate:__IncludePHPTemplate in /var/www/prod/bitrix/modules/main/classes/general/component_template.php:815 #17 CBitrixComponentTemplate:IncludeTemplate in /var/www/prod/bitrix/modules/main/classes/general/component.php:735 #16 CBitrixComponent:showComponentTemplate in /var/www/prod/bitrix/modules/main/classes/general/component.php:683 #15 CBitrixComponent:includeComponentTemplate in /var/www/prod/bitrix/components/bitrix/news.detail/component.php:438 #14 include in /var/www/prod/bitrix/modules/main/classes/general/component.php:594 #13 CBitrixComponent:__includeComponent in /var/www/prod/bitrix/modules/main/classes/general/component.php:653 #12 CBitrixComponent:includeComponent in /var/www/prod/bitrix/modules/main/classes/general/main.php:1038 #11 CAllMain:IncludeComponent in /var/www/prod/local/templates/.default/components/bitrix/news/.default/detail.php:75 #10 include in /var/www/prod/bitrix/modules/main/classes/general/component_template.php:720 #9 CBitrixComponentTemplate:__IncludePHPTemplate in /var/www/prod/bitrix/modules/main/classes/general/component_template.php:815 #8 CBitrixComponentTemplate:IncludeTemplate in /var/www/prod/bitrix/modules/main/classes/general/component.php:735 #7 CBitrixComponent:showComponentTemplate in /var/www/prod/bitrix/modules/main/classes/general/component.php:683 #6 CBitrixComponent:includeComponentTemplate in /var/www/prod/bitrix/components/bitrix/news/component.php:216 #5 include in /var/www/prod/bitrix/modules/main/classes/general/component.php:594 #4 CBitrixComponent:__includeComponent in /var/www/prod/bitrix/modules/main/classes/general/component.php:653 #3 CBitrixComponent:includeComponent in /var/www/prod/bitrix/modules/main/classes/general/main.php:1038 #2 CAllMain:IncludeComponent in /var/www/prod/helpful-information/index.php:97 #1 include_once in /var/www/prod/bitrix/modules/main/include/urlrewrite.php:159 #0 include_once in /var/www/prod/bitrix/urlrewrite.php:2
Stack frames (25)
24
Exception
/
var
/
www
/
prod
/
local
/
components
/
3dots
/
catalog.base
/
class.php
180
23
CCatalogBase
getFilteredProducts
/
var
/
www
/
prod
/
local
/
components
/
3dots
/
catalog.section
/
class.php
147
22
CUniversalList
executeComponent
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
638
21
CBitrixComponent
includeComponent
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
main.php
1038
20
CAllMain
IncludeComponent
/
var
/
www
/
prod
/
local
/
templates
/
.default
/
components
/
bitrix
/
news.detail
/
articles
/
template.php
33
19
include
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component_template.php
720
18
CBitrixComponentTemplate
__IncludePHPTemplate
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component_template.php
815
17
CBitrixComponentTemplate
IncludeTemplate
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
735
16
CBitrixComponent
showComponentTemplate
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
683
15
CBitrixComponent
includeComponentTemplate
/
var
/
www
/
prod
/
bitrix
/
components
/
bitrix
/
news.detail
/
component.php
438
14
include
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
594
13
CBitrixComponent
__includeComponent
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
653
12
CBitrixComponent
includeComponent
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
main.php
1038
11
CAllMain
IncludeComponent
/
var
/
www
/
prod
/
local
/
templates
/
.default
/
components
/
bitrix
/
news
/
.default
/
detail.php
75
10
include
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component_template.php
720
9
CBitrixComponentTemplate
__IncludePHPTemplate
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component_template.php
815
8
CBitrixComponentTemplate
IncludeTemplate
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
735
7
CBitrixComponent
showComponentTemplate
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
683
6
CBitrixComponent
includeComponentTemplate
/
var
/
www
/
prod
/
bitrix
/
components
/
bitrix
/
news
/
component.php
216
5
include
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
594
4
CBitrixComponent
__includeComponent
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
653
3
CBitrixComponent
includeComponent
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
main.php
1038
2
CAllMain
IncludeComponent
/
var
/
www
/
prod
/
helpful-information
/
index.php
97
1
include_once
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
include
/
urlrewrite.php
159
0
include_once
/
var
/
www
/
prod
/
bitrix
/
urlrewrite.php
2
/
var
/
www
/
prod
/
local
/
components
/
3dots
/
catalog.base
/
class.php
            "=ID" => $arIds,
            "ID" => CIBlockElement::SubQuery(
                "PROPERTY_CML2_LINK", $arOfferFilter
            )            
        ];
        
        $rsElements = CIBlockElement::GetList( $arSort, $arFilter, false, false, ['ID']);
        $ret = [];
        while($row  = $rsElements->Fetch()){
            $ret[] = $row['ID'];
        }
        return $ret;
    }
 
    public function getFilteredProducts( array $arIds, array $arSort = [], $getDetail = false, $isSearch=false )
    {
        global $USER;
        $arParams = $this->arParams;
 
        if( count($arIds) == 0) throw new Exception('Массив ID элементов не должен быть пустым');
 
        $arItems = [];
        $arSelect = [ "ID", "NAME", "CODE", "IBLOCK_ID", "PREVIEW_TEXT", "DETAIL_TEXT", "DETAIL_PAGE_URL", "PREVIEW_PICTURE","PROPERTY_MIN_PRICE_".CITY_ID,"PROPERTY_ORIG_MIN_PRICE_".CITY_ID];
 
        $arFilter = [
            "=ID" => $arIds,
        ];
        
        $rsElements = CIBlockElement::GetList( $arSort, $arFilter, false, false, $arSelect);
        
        $arPrices = $this->getArPrices();
 
//$items = [];
//$ids = [];
        while($rsElement = $rsElements->GetNextElement())
        {
            $arItem = $rsElement->GetFields();
            $ipropValues = new \Bitrix\Iblock\InheritedProperty\ElementValues( 1, $arItem['ID']);
            $arItem['NAME'] = $ipropValues->getValues()['ELEMENT_PAGE_TITLE']?:$arItem['NAME'];
            $arItem['PROPERTIES'] = $rsElement->GetProperties(['SORT' => 'DESC']);
Arguments
  1. "Массив ID элементов не должен быть пустым"
    
/
var
/
www
/
prod
/
local
/
components
/
3dots
/
catalog.section
/
class.php
                    $method = $request->getRequestMethod();
                    $pageNumber = $request->getQuery('PAGEN_'.$Num);
                    $limit = array(
                        'nPageSize' => intval($this->arParams['ELEMENT_CNT']), // Укажем количество выводимых элементов
                        "bDescPageNumbering" => false, // Обратная навигация или прямая 
                        'iNumPage' => ($pageNumber?$pageNumber:1),
                        'bShowAll' => false // тут как вам нравится если надо можно показывать ссылку все
                    );
                    $navigation = \CDBResult::GetNavParams($limit);
                    $result = new \CDBResult();
                    $result->NavStart($navigation,false,true);
                    $result->NavRecordCount = count($arItemIds);
                    $result->NavPageSize = $limit['nPageSize'];
                    $result->bShowAll = $limit['bShowAll'];
                    $result->NavPageCount = ceil($result->NavRecordCount/$result->NavPageSize);
                    $result->NavPageNomer = $limit['iNumPage'];
                    $arResult['NAV_STRING'] = $result->GetPageNavStringEx($navComponentObject,"Товары",'', 'Y', $this);
                    $arItemIds = array_slice($arItemIds,($limit['iNumPage']-1)*$limit['nPageSize'],$limit['nPageSize']);
                }
                $arResult['ITEMS'] = $this->getFilteredProducts($arItemIds, $arSort, false, ($arParams['CATALOG_SEARCH']=='Y'));
            }else{
                $arResult['ITEMS'] = [];
            }
            $arResult['NAV_CHAIN'] = [];
            $rsChain = CIBlockSection::GetNavChain(false, $arResult['ID']);
            while($arNavChainItem = $rsChain->GetNext()){
                $arResult['NAV_CHAIN'][] = [
                    'NAME' => $arNavChainItem['NAME'],
                    'SECTION_PAGE_URL' => $arNavChainItem['SECTION_PAGE_URL'],
                    'SECTION_ID' => $arNavChainItem['ID'],
                    'PARENT_SECTION_ID' => $arNavChainItem['IBLOCK_SECTION_ID'],
                ];
            }
            $sects = [];
            foreach ($arResult['ITEMS'] as $ind=>$arItem){
                $sects[] = $arItem['IBLOCK_SECTION_ID'];
                $props=[];
                $nprops=[];
                $this->prepareProperties($arItem, $props);
                if (!isset($props[self::SIZES_PROPERTY])){
Arguments
  1. []
    
  2. array:1 [
      "NAME" => "ASC"
    ]
    
  3. false
    
  4. false
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
 
        if($this->classOfComponent)
        {
            /** @var CBitrixComponent $component  */
            $component = new $this->classOfComponent($this);
            $component->onIncludeComponentLang();
 
            $keysToExport = $component->listKeysSignedParameters();
            if($keysToExport)
            {
                $component->storeSignedParameters(array_intersect_key($arParams, array_combine($keysToExport, $keysToExport)));
            }
 
            $component->arParams = $component->onPrepareComponentParams($arParams);
            $component->__prepareComponentParams($component->arParams);
 
            $componentFrame = new \Bitrix\Main\Composite\Internals\AutomaticArea($component);
            $componentFrame->start();
 
            $result = $component->executeComponent();
            $this->__arIncludeAreaIcons = $component->__arIncludeAreaIcons;
            $frameMode = $component->getFrameMode();
 
            $componentFrame->end();
        }
        else
        {
            $this->includeComponentLang();
            $this->__prepareComponentParams($arParams);
            $this->arParams = $arParams;
 
            $componentFrame = new \Bitrix\Main\Composite\Internals\AutomaticArea($this);
            $componentFrame->start();
 
            $result = $this->__IncludeComponent();
            $frameMode = $this->getFrameMode();
 
            $componentFrame->end();
        }
 
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
main.php
 
        $bDrawIcons = ((!isset($arFunctionParams["HIDE_ICONS"]) || $arFunctionParams["HIDE_ICONS"] <> "Y") && $APPLICATION->GetShowIncludeAreas());
 
        if($bDrawIcons)
            echo $this->IncludeStringBefore();
 
        $result = null;
        $bComponentEnabled = (!isset($arFunctionParams["ACTIVE_COMPONENT"]) || $arFunctionParams["ACTIVE_COMPONENT"] <> "N");
 
        $component = new CBitrixComponent();
        if($component->InitComponent($componentName))
        {
            $obAjax = null;
            if($bComponentEnabled)
            {
                if($arParams['AJAX_MODE'] == 'Y')
                    $obAjax = new CComponentAjax($componentName, $componentTemplate, $arParams, $parentComponent);
 
                $this->__componentStack[] = $component;
                $result = $component->IncludeComponent($componentTemplate, $arParams, $parentComponent);
 
                array_pop($this->__componentStack);
            }
 
            if($bDrawIcons)
            {
                $panel = new CComponentPanel($component, $componentName, $componentTemplate, $parentComponent, $bComponentEnabled);
                $arIcons = $panel->GetIcons();
 
                echo $s = $this->IncludeStringAfter($arIcons["icons"], $arIcons["parameters"]);
            }
 
            if($bComponentEnabled && $obAjax)
            {
                $obAjax->Process();
            }
        }
 
        if($bShowDebug)
            echo $debug->Output($componentName, "/bitrix/components".$componentRelativePath."/component.php", $arParams["CACHE_TYPE"].$arParams["MENU_CACHE_TYPE"]);
Arguments
  1. ".default"
    
  2. array:6 [
      "COMPONENT_TEMPLATE" => ".default"
      "IBLOCK_ID" => 1
      "ELEMENT_CNT" => ""
      "FILTER_NAME" => "CATALOG_ADDITIONAL"
      "SET_TITLE" => "N"
      "CACHE_TYPE" => "A"
    ]
    
  3. null
    
/
var
/
www
/
prod
/
local
/
templates
/
.default
/
components
/
bitrix
/
news.detail
/
articles
/
template.php
//CUtil::InitJSCore(array('fx'));
?>
 
<?if($arResult['DETAIL_TEXT'] != ''):?>
    <div class="mb-3">
        <?=$arResult['DETAIL_TEXT']?>
    </div>
<?endif?>
 
<?
$arGoods = $arResult['PROPERTIES']['production']['VALUE'];
if(count($arGoods)):?>
    <? $GLOBALS['CATALOG_ADDITIONAL'] = [
        'ID' => $arGoods
    ]; ?>
    <? $APPLICATION->IncludeComponent(
        "3dots:catalog.section",
        ".default",
        array(
            "COMPONENT_TEMPLATE" => ".default",
            "IBLOCK_ID" => 1,
            "ELEMENT_CNT" => "",
            "FILTER_NAME" => "CATALOG_ADDITIONAL",
            "SET_TITLE" => "N"
        )
    ); ?>
<?endif?>
 
Arguments
  1. "3dots:catalog.section"
    
  2. ".default"
    
  3. array:5 [
      "COMPONENT_TEMPLATE" => ".default"
      "IBLOCK_ID" => 1
      "ELEMENT_CNT" => ""
      "FILTER_NAME" => "CATALOG_ADDITIONAL"
      "SET_TITLE" => "N"
    ]
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component_template.php
        /** @noinspection PhpUnusedLocalVariableInspection */
        $templateName = $this->__name;
        /** @noinspection PhpUnusedLocalVariableInspection */
        $templateFile = $this->__file;
        /** @noinspection PhpUnusedLocalVariableInspection */
        $templateFolder = $this->__folder;
        /** @noinspection PhpUnusedLocalVariableInspection */
        $componentPath = $this->__component->GetPath();
 
        $component = &$this->__component;
 
        if ($this->__fileAlt <> '')
        {
            include($_SERVER["DOCUMENT_ROOT"].$this->__fileAlt);
            return null;
        }
 
        $templateData = false;
 
        include($_SERVER["DOCUMENT_ROOT"].$this->__file);
 
        for ($i = count($this->frames) - 1; $i >= 0; $i--)
        {
            $frame = $this->frames[$i];
            if ($frame->isStarted() && !$frame->isEnded())
            {
                $frame->end();
            }
        }
 
        if (!$this->getFrameMode())
        {
            $page = \Bitrix\Main\Composite\Page::getInstance();
            $page->giveNegativeComponentVote($this->__file);
        }
 
        $component_epilog = $this->__folder."/component_epilog.php";
        if(file_exists($_SERVER["DOCUMENT_ROOT"].$component_epilog))
        {
            //These will be available with extract then component will
Arguments
  1. "/var/www/prod/local/templates/.default/components/bitrix/news.detail/articles/template.php"
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component_template.php
            if ($parentTemplate)
                $parentTemplateFolder = $parentTemplate->GetFolder();
        }
 
        if ($externalEngine)
        {
            $result = call_user_func(
                $arBXAvailableTemplateEngines[$this->__engineID]["function"],
                $this->__file,
                $arResult,
                $arParams,
                $arLangMessages,
                $this->__folder,
                $parentTemplateFolder,
                $this
            );
        }
        else
        {
            $result = $this->__IncludePHPTemplate($arResult, $arParams, $parentTemplateFolder);
        }
 
        return $result;
    }
 
    /**
     * Includes template language file.
     *
     * @param string $relativePath
     * @param false|string $lang
     * @param boolean $return
     *
     * @return array
     */
    public function IncludeLangFile($relativePath = "", $lang = false, $return = false)
    {
        $arLangMessages = array();
 
        if($this->__folder <> '')
        {
Arguments
  1. array:50 [
      "ID" => "681699"
      "~ID" => "681699"
      "NAME" => "Кровати с ортопедическим основанием: проведем лучшую треть жизни с удовольствием"
      "~NAME" => "Кровати с ортопедическим основанием: проведем лучшую треть жизни с удовольствием"
      "IBLOCK_ID" => "6"
      "~IBLOCK_ID" => "6"
      "IBLOCK_SECTION_ID" => null
      "~IBLOCK_SECTION_ID" => null
      "DETAIL_TEXT" => """
        <p>\r\n
        \tДвуспальная модель Александрия с&nbsp;красивым классическим оформлением имеет, помимо ортопедической решетки, еще и&nbsp;подъемный механизм, благодаря которому отрывается доступ к&nbsp;четырем объемным нишам для хранения белья и&nbsp;других объемных вещей (например, одеял, пледов, пуховиков и&nbsp;так далее).\r\n
        </p>\r\n
        <p>\r\n
        \t В&nbsp;кровати Валенсия решетка не&nbsp;встроенная, а&nbsp;отдельностоящая на&nbsp;собственных ножках. Такое решение позволяет снизить нагрузку на&nbsp;каркас кровати и&nbsp;увеличить срок службы мебели.\r\n
        </p>\r\n
        <p>\r\n
        \t Двуспальная красавица Бона <nobr>нежно-карамельной</nobr> расцветки также оснащена решеткой с&nbsp;гибкими ламелями, которые обеспечивают основанию пружинящий эффект и&nbsp;делают матрас более мягким. Подъемный механизм позволяет сложить в&nbsp;большой ламинированный отдел белье, пуховые одеяла, подушки и&nbsp;даже несезонные вещи.\r\n
        </p>\r\n
        <p>\r\n
        \t Изысканная ортопедическая кровать Нега имеет великолепный стиль, который подчеркивает царственная высокая спинка с&nbsp;резным узором. Ее&nbsp;крепкая и&nbsp;надежная конструкция обеспечит комфорт во&nbsp;время сна, а&nbsp;яркий дизайн украсит интерьер.\r\n
        </p><p>\r\n
         Выбирайте кровать с&nbsp;ортопедическим основанием и&nbsp;начните получать удовольствие от&nbsp;1/3 жизни, проводимой в&nbsp;постели. И&nbsp;тогда каждое утро вы&nbsp;будете иметь отличное настроение, а&nbsp;не&nbsp;боль в&nbsp;позвоночнике от&nbsp;неудобно проведенной ночи.\r\n
        \r\n
        </p>
        """
      "~DETAIL_TEXT" => """
        <p>\r\n
        \tДвуспальная модель Александрия с&nbsp;красивым классическим оформлением имеет, помимо ортопедической решетки, еще и&nbsp;подъемный механизм, благодаря которому отрывается доступ к&nbsp;четырем объемным нишам для хранения белья и&nbsp;других объемных вещей (например, одеял, пледов, пуховиков и&nbsp;так далее).\r\n
        </p>\r\n
        <p>\r\n
        \t В&nbsp;кровати Валенсия решетка не&nbsp;встроенная, а&nbsp;отдельностоящая на&nbsp;собственных ножках. Такое решение позволяет снизить нагрузку на&nbsp;каркас кровати и&nbsp;увеличить срок службы мебели.\r\n
        </p>\r\n
        <p>\r\n
        \t Двуспальная красавица Бона <nobr>нежно-карамельной</nobr> расцветки также оснащена решеткой с&nbsp;гибкими ламелями, которые обеспечивают основанию пружинящий эффект и&nbsp;делают матрас более мягким. Подъемный механизм позволяет сложить в&nbsp;большой ламинированный отдел белье, пуховые одеяла, подушки и&nbsp;даже несезонные вещи.\r\n
        </p>\r\n
        <p>\r\n
        \t Изысканная ортопедическая кровать Нега имеет великолепный стиль, который подчеркивает царственная высокая спинка с&nbsp;резным узором. Ее&nbsp;крепкая и&nbsp;надежная конструкция обеспечит комфорт во&nbsp;время сна, а&nbsp;яркий дизайн украсит интерьер.\r\n
        </p><p>\r\n
         Выбирайте кровать с&nbsp;ортопедическим основанием и&nbsp;начните получать удовольствие от&nbsp;1/3 жизни, проводимой в&nbsp;постели. И&nbsp;тогда каждое утро вы&nbsp;будете иметь отличное настроение, а&nbsp;не&nbsp;боль в&nbsp;позвоночнике от&nbsp;неудобно проведенной ночи.\r\n
        \r\n
        </p>
        """
      "DETAIL_TEXT_TYPE" => "html"
      "~DETAIL_TEXT_TYPE" => "html"
      "PREVIEW_TEXT" => "<p>Ночной отдых&nbsp;&mdash; это наше все: здоровье, энергия, силы, позитивное настроение. Хорошо выспавшийся человек способен горы свернуть и&nbsp;достичь высоких результатов в&nbsp;работе. Именно такой здоровый сон способна обеспечить ортопедическая мебель&nbsp;&mdash; большие двуспальные кровати с&nbsp;гибким <nobr>основанием-латами</nobr>. Подобным основанием оснащены несколько <nobr>кроватей-новинок</nobr> из&nbsp;нашего каталога.</p>"
      "~PREVIEW_TEXT" => "<p>Ночной отдых&nbsp;&mdash; это наше все: здоровье, энергия, силы, позитивное настроение. Хорошо выспавшийся человек способен горы свернуть и&nbsp;достичь высоких результатов в&nbsp;работе. Именно такой здоровый сон способна обеспечить ортопедическая мебель&nbsp;&mdash; большие двуспальные кровати с&nbsp;гибким <nobr>основанием-латами</nobr>. Подобным основанием оснащены несколько <nobr>кроватей-новинок</nobr> из&nbsp;нашего каталога.</p>"
      "PREVIEW_TEXT_TYPE" => "html"
      "~PREVIEW_TEXT_TYPE" => "html"
      "DETAIL_PICTURE" => null
      "~DETAIL_PICTURE" => null
      "TIMESTAMP_X" => "19.12.2017 16:47:10"
      "~TIMESTAMP_X" => "19.12.2017 16:47:10"
      "ACTIVE_FROM" => null
      "~ACTIVE_FROM" => null
      "LIST_PAGE_URL" => "/helpful-information/"
      "~LIST_PAGE_URL" => "/helpful-information/"
      "DETAIL_PAGE_URL" => "/helpful-information/bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure/"
      "~DETAIL_PAGE_URL" => "/helpful-information/bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure/"
      "LANG_DIR" => "/"
      "~LANG_DIR" => "/"
      "CODE" => "bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure"
      "~CODE" => "bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure"
      "EXTERNAL_ID" => "681699"
      "~EXTERNAL_ID" => "681699"
      "IBLOCK_TYPE_ID" => "lists"
      "~IBLOCK_TYPE_ID" => "lists"
      "IBLOCK_CODE" => "helpful"
      "~IBLOCK_CODE" => "helpful"
      "IBLOCK_EXTERNAL_ID" => ""
      "~IBLOCK_EXTERNAL_ID" => ""
      "LID" => "s1"
      "~LID" => "s1"
      "NAV_RESULT" => false
      "DISPLAY_ACTIVE_FROM" => ""
      "IPROPERTY_VALUES" => array:1 [
        "ELEMENT_META_TITLE" => "Кровати с ортопедическим основанием: проведем лучшую треть жизни с удовольствием | Азбука Мебели"
      ]
      "FIELDS" => []
      "PROPERTIES" => array:2 [
        "production" => array:36 [
          "ID" => "24586"
          "TIMESTAMP_X" => "2017-09-17 10:34:49"
          "IBLOCK_ID" => "6"
          "NAME" => "Прикрепленный товар"
          "ACTIVE" => "Y"
          "SORT" => "500"
          "CODE" => "production"
          "DEFAULT_VALUE" => ""
          "PROPERTY_TYPE" => "E"
          "ROW_COUNT" => "1"
          "COL_COUNT" => "30"
          "LIST_TYPE" => "L"
          "MULTIPLE" => "Y"
          "XML_ID" => ""
          "FILE_TYPE" => ""
          "MULTIPLE_CNT" => "10"
          "TMP_ID" => null
          "LINK_IBLOCK_ID" => "1"
          "WITH_DESCRIPTION" => "N"
          "SEARCHABLE" => "N"
          "FILTRABLE" => "N"
          "IS_REQUIRED" => "N"
          "VERSION" => "1"
          "USER_TYPE" => null
          "USER_TYPE_SETTINGS" => null
          "HINT" => ""
          "PROPERTY_VALUE_ID" => array:4 [
            0 => "76033206"
            1 => "76033207"
            2 => "76033208"
            3 => "76033209"
          ]
          "VALUE" => array:4 [
            0 => "515153"
            1 => "514284"
            2 => "613472"
            3 => "515645"
          ]
          "DESCRIPTION" => array:4 [
            0 => ""
            1 => ""
            2 => ""
            3 => ""
          ]
          "VALUE_ENUM" => null
          "VALUE_XML_ID" => null
          "VALUE_SORT" => null
          "~VALUE" => array:4 [
            0 => "515153"
            1 => "514284"
            2 => "613472"
            3 => "515645"
          ]
          "~DESCRIPTION" => array:4 [
            0 => ""
            1 => ""
            2 => ""
            3 => ""
          ]
          "~NAME" => "Прикрепленный товар"
          "~DEFAULT_VALUE" => ""
        ]
        "SECTION" => array:36 [
          "ID" => "24711"
          "TIMESTAMP_X" => "2017-12-19 16:38:07"
          "IBLOCK_ID" => "6"
          "NAME" => "Вывести в разделе:"
          "ACTIVE" => "Y"
          "SORT" => "500"
          "CODE" => "SECTION"
          "DEFAULT_VALUE" => ""
          "PROPERTY_TYPE" => "G"
          "ROW_COUNT" => "1"
          "COL_COUNT" => "30"
          "LIST_TYPE" => "L"
          "MULTIPLE" => "Y"
          "XML_ID" => ""
          "FILE_TYPE" => ""
          "MULTIPLE_CNT" => "5"
          "TMP_ID" => null
          "LINK_IBLOCK_ID" => "1"
          "WITH_DESCRIPTION" => "N"
          "SEARCHABLE" => "N"
          "FILTRABLE" => "N"
          "IS_REQUIRED" => "N"
          "VERSION" => "1"
          "USER_TYPE" => null
          "USER_TYPE_SETTINGS" => null
          "HINT" => ""
          "PROPERTY_VALUE_ID" => array:1 [
            0 => "79334230"
          ]
          "VALUE" => array:1 [
            0 => "2325"
          ]
          "DESCRIPTION" => array:1 [
            0 => null
          ]
          "VALUE_ENUM" => null
          "VALUE_XML_ID" => null
          "VALUE_SORT" => null
          "~VALUE" => array:1 [
            0 => "2325"
          ]
          "~DESCRIPTION" => array:1 [
            0 => null
          ]
          "~NAME" => "Вывести в разделе:"
          "~DEFAULT_VALUE" => ""
        ]
      ]
      "DISPLAY_PROPERTIES" => array:1 [
        "production" => array:38 [
          "ID" => "24586"
          "TIMESTAMP_X" => "2017-09-17 10:34:49"
          "IBLOCK_ID" => "6"
          "NAME" => "Прикрепленный товар"
          "ACTIVE" => "Y"
          "SORT" => "500"
          "CODE" => "production"
          "DEFAULT_VALUE" => ""
          "PROPERTY_TYPE" => "E"
          "ROW_COUNT" => "1"
          "COL_COUNT" => "30"
          "LIST_TYPE" => "L"
          "MULTIPLE" => "Y"
          "XML_ID" => ""
          "FILE_TYPE" => ""
          "MULTIPLE_CNT" => "10"
          "TMP_ID" => null
          "LINK_IBLOCK_ID" => "1"
          "WITH_DESCRIPTION" => "N"
          "SEARCHABLE" => "N"
          "FILTRABLE" => "N"
          "IS_REQUIRED" => "N"
          "VERSION" => "1"
          "USER_TYPE" => null
          "USER_TYPE_SETTINGS" => null
          "HINT" => ""
          "PROPERTY_VALUE_ID" => array:4 [
            0 => "76033206"
            1 => "76033207"
            2 => "76033208"
            3 => "76033209"
          ]
          "VALUE" => array:4 [
            0 => "515153"
            1 => "514284"
            2 => "613472"
            3 => "515645"
          ]
          "DESCRIPTION" => array:4 [
            0 => ""
            1 => ""
            2 => ""
            3 => ""
          ]
          "VALUE_ENUM" => null
          "VALUE_XML_ID" => null
          "VALUE_SORT" => null
          "~VALUE" => array:4 [
            0 => "515153"
            1 => "514284"
            2 => "613472"
            3 => "515645"
          ]
          "~DESCRIPTION" => array:4 [
            0 => ""
            1 => ""
            2 => ""
            3 => ""
          ]
          "~NAME" => "Прикрепленный товар"
          "~DEFAULT_VALUE" => ""
          "DISPLAY_VALUE" => "<a href="/catalog/0000065/515153/">АЛЕКСАНДРИЯ (Рустика/Кожа Ленто)</a>"
          "LINK_ELEMENT_VALUE" => array:1 [
            515153 => array:30 [
              "ID" => "515153"
              "~ID" => "515153"
              "IBLOCK_ID" => "1"
              "~IBLOCK_ID" => "1"
              "NAME" => "АЛЕКСАНДРИЯ (Рустика/Кожа Ленто)"
              "~NAME" => "АЛЕКСАНДРИЯ (Рустика/Кожа Ленто)"
              "DETAIL_PAGE_URL" => "/catalog/0000065/515153/"
              "~DETAIL_PAGE_URL" => "/catalog/0000065/515153/"
              "PREVIEW_PICTURE" => "168955"
              "~PREVIEW_PICTURE" => "168955"
              "DETAIL_PICTURE" => null
              "~DETAIL_PICTURE" => null
              "SORT" => "500"
              "~SORT" => "500"
              "LANG_DIR" => "/"
              "~LANG_DIR" => "/"
              "CODE" => "131062"
              "~CODE" => "131062"
              "EXTERNAL_ID" => "a8a36463-76ba-11e5-b0f4-001e67218051"
              "~EXTERNAL_ID" => "a8a36463-76ba-11e5-b0f4-001e67218051"
              "IBLOCK_SECTION_ID" => "2303"
              "~IBLOCK_SECTION_ID" => "2303"
              "IBLOCK_TYPE_ID" => "catalogs"
              "~IBLOCK_TYPE_ID" => "catalogs"
              "IBLOCK_CODE" => "catalog"
              "~IBLOCK_CODE" => "catalog"
              "IBLOCK_EXTERNAL_ID" => ""
              "~IBLOCK_EXTERNAL_ID" => ""
              "LID" => "s1"
              "~LID" => "s1"
            ]
          ]
        ]
      ]
      "IBLOCK" => array:88 [
        "ID" => "6"
        "~ID" => "6"
        "TIMESTAMP_X" => "12.05.2016 05:34:21"
        "~TIMESTAMP_X" => "12.05.2016 05:34:21"
        "IBLOCK_TYPE_ID" => "lists"
        "~IBLOCK_TYPE_ID" => "lists"
        "LID" => "s1"
        "~LID" => "s1"
        "CODE" => "helpful"
        "~CODE" => "helpful"
        "NAME" => "Полезная информация"
        "~NAME" => "Полезная информация"
        "ACTIVE" => "Y"
        "~ACTIVE" => "Y"
        "SORT" => "500"
        "~SORT" => "500"
        "LIST_PAGE_URL" => "/helpful-information/"
        "~LIST_PAGE_URL" => "/helpful-information/"
        "DETAIL_PAGE_URL" => "#SITE_DIR#/helpful-information/#ELEMENT_CODE#/"
        "~DETAIL_PAGE_URL" => "#SITE_DIR#/helpful-information/#ELEMENT_CODE#/"
        "SECTION_PAGE_URL" => "#SITE_DIR#/helpful-information/"
        "~SECTION_PAGE_URL" => "#SITE_DIR#/helpful-information/"
        "CANONICAL_PAGE_URL" => ""
        "~CANONICAL_PAGE_URL" => ""
        "PICTURE" => null
        "~PICTURE" => null
        "DESCRIPTION" => ""
        "~DESCRIPTION" => ""
        "DESCRIPTION_TYPE" => "text"
        "~DESCRIPTION_TYPE" => "text"
        "RSS_TTL" => "24"
        "~RSS_TTL" => "24"
        "RSS_ACTIVE" => "Y"
        "~RSS_ACTIVE" => "Y"
        "RSS_FILE_ACTIVE" => "N"
        "~RSS_FILE_ACTIVE" => "N"
        "RSS_FILE_LIMIT" => null
        "~RSS_FILE_LIMIT" => null
        "RSS_FILE_DAYS" => null
        "~RSS_FILE_DAYS" => null
        "RSS_YANDEX_ACTIVE" => "N"
        "~RSS_YANDEX_ACTIVE" => "N"
        "XML_ID" => ""
        "~XML_ID" => ""
        "TMP_ID" => null
        "~TMP_ID" => null
        "INDEX_ELEMENT" => "Y"
        "~INDEX_ELEMENT" => "Y"
        "INDEX_SECTION" => "N"
        "~INDEX_SECTION" => "N"
        "WORKFLOW" => "N"
        "~WORKFLOW" => "N"
        "BIZPROC" => "N"
        "~BIZPROC" => "N"
        "SECTION_CHOOSER" => "L"
        "~SECTION_CHOOSER" => "L"
        "LIST_MODE" => "C"
        "~LIST_MODE" => "C"
        "RIGHTS_MODE" => "S"
        "~RIGHTS_MODE" => "S"
        "SECTION_PROPERTY" => "N"
        "~SECTION_PROPERTY" => "N"
        "PROPERTY_INDEX" => "N"
        "~PROPERTY_INDEX" => "N"
        "VERSION" => "1"
        "~VERSION" => "1"
        "LAST_CONV_ELEMENT" => "0"
        "~LAST_CONV_ELEMENT" => "0"
        "SOCNET_GROUP_ID" => null
        "~SOCNET_GROUP_ID" => null
        "EDIT_FILE_BEFORE" => ""
        "~EDIT_FILE_BEFORE" => ""
        "EDIT_FILE_AFTER" => ""
        "~EDIT_FILE_AFTER" => ""
        "SECTIONS_NAME" => "Разделы"
        "~SECTIONS_NAME" => "Разделы"
        "SECTION_NAME" => "Раздел"
        "~SECTION_NAME" => "Раздел"
        "ELEMENTS_NAME" => "Элементы"
        "~ELEMENTS_NAME" => "Элементы"
        "ELEMENT_NAME" => "Элемент"
        "~ELEMENT_NAME" => "Элемент"
        "EXTERNAL_ID" => ""
        "~EXTERNAL_ID" => ""
        "LANG_DIR" => "/"
        "~LANG_DIR" => "/"
        "SERVER_NAME" => "azbykamebeli.ru"
        "~SERVER_NAME" => "azbykamebeli.ru"
      ]
      "SECTION" => array:1 [
        "PATH" => []
      ]
      "SECTION_URL" => ""
      "META_TAGS" => array:2 [
        "KEYWORDS" => ""
        "DESCRIPTION" => ""
      ]
    ]
    
  2. array:112 [
      "DISPLAY_DATE" => "Y"
      "DISPLAY_NAME" => "N"
      "DISPLAY_PICTURE" => "Y"
      "DISPLAY_PREVIEW_TEXT" => "Y"
      "IBLOCK_TYPE" => "lists"
      "IBLOCK_ID" => "6"
      "FIELD_CODE" => []
      "PROPERTY_CODE" => array:1 [
        0 => "production"
      ]
      "DETAIL_URL" => "/helpful-information/#ELEMENT_CODE#/"
      "SECTION_URL" => "/helpful-information/"
      "META_KEYWORDS" => "-"
      "META_DESCRIPTION" => "-"
      "BROWSER_TITLE" => "N"
      "SET_CANONICAL_URL" => "N"
      "DISPLAY_PANEL" => null
      "SET_LAST_MODIFIED" => false
      "SET_TITLE" => false
      "SET_BROWSER_TITLE" => "N"
      "MESSAGE_404" => ""
      "SET_STATUS_404" => "Y"
      "SHOW_404" => "Y"
      "FILE_404" => null
      "INCLUDE_IBLOCK_INTO_CHAIN" => true
      "ADD_SECTIONS_CHAIN" => true
      "ACTIVE_DATE_FORMAT" => "d.m.Y"
      "CACHE_TYPE" => "A"
      "CACHE_TIME" => "36000000"
      "CACHE_GROUPS" => "Y"
      "USE_PERMISSIONS" => false
      "GROUP_PERMISSIONS" => array:1 [
        0 => 1
      ]
      "DISPLAY_TOP_PAGER" => false
      "DISPLAY_BOTTOM_PAGER" => true
      "PAGER_TITLE" => "Страница"
      "PAGER_SHOW_ALWAYS" => false
      "PAGER_TEMPLATE" => ""
      "PAGER_SHOW_ALL" => true
      "CHECK_DATES" => true
      "ELEMENT_ID" => 681699
      "ELEMENT_CODE" => "bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure"
      "IBLOCK_URL" => "/helpful-information/"
      "SEARCH_PAGE" => "/helpful-information/"
      "USE_SHARE" => "N"
      "SHARE_HIDE" => null
      "SHARE_TEMPLATE" => null
      "SHARE_HANDLERS" => null
      "SHARE_SHORTEN_URL_LOGIN" => null
      "SHARE_SHORTEN_URL_KEY" => null
      "ADD_ELEMENT_CHAIN" => false
      "USE_RATING" => "N"
      "MAX_VOTE" => null
      "VOTE_NAMES" => null
      "MEDIA_PROPERTY" => ""
      "SLIDER_PROPERTY" => ""
      "TEMPLATE_THEME" => "blue"
      "~DISPLAY_DATE" => "Y"
      "~DISPLAY_NAME" => "N"
      "~DISPLAY_PICTURE" => "Y"
      "~DISPLAY_PREVIEW_TEXT" => "Y"
      "~IBLOCK_TYPE" => "lists"
      "~IBLOCK_ID" => "6"
      "~FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "~PROPERTY_CODE" => array:2 [
        0 => "production"
        1 => ""
      ]
      "~DETAIL_URL" => "/helpful-information/#ELEMENT_CODE#/"
      "~SECTION_URL" => "/helpful-information/"
      "~META_KEYWORDS" => "-"
      "~META_DESCRIPTION" => "-"
      "~BROWSER_TITLE" => "N"
      "~SET_CANONICAL_URL" => "N"
      "~DISPLAY_PANEL" => null
      "~SET_LAST_MODIFIED" => "N"
      "~SET_TITLE" => "N"
      "~SET_BROWSER_TITLE" => "N"
      "~MESSAGE_404" => ""
      "~SET_STATUS_404" => "Y"
      "~SHOW_404" => "Y"
      "~FILE_404" => null
      "~INCLUDE_IBLOCK_INTO_CHAIN" => "Y"
      "~ADD_SECTIONS_CHAIN" => "Y"
      "~ACTIVE_DATE_FORMAT" => "d.m.Y"
      "~CACHE_TYPE" => "A"
      "~CACHE_TIME" => "36000000"
      "~CACHE_GROUPS" => "Y"
      "~USE_PERMISSIONS" => "N"
      "~GROUP_PERMISSIONS" => null
      "~DISPLAY_TOP_PAGER" => "N"
      "~DISPLAY_BOTTOM_PAGER" => "Y"
      "~PAGER_TITLE" => "Страница"
      "~PAGER_SHOW_ALWAYS" => "N"
      "~PAGER_TEMPLATE" => ""
      "~PAGER_SHOW_ALL" => "Y"
      "~CHECK_DATES" => "Y"
      "~ELEMENT_ID" => null
      "~ELEMENT_CODE" => "bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure"
      "~IBLOCK_URL" => "/helpful-information/"
      "~SEARCH_PAGE" => "/helpful-information/"
      "~USE_SHARE" => "N"
      "~SHARE_HIDE" => null
      "~SHARE_TEMPLATE" => null
      "~SHARE_HANDLERS" => null
      "~SHARE_SHORTEN_URL_LOGIN" => null
      "~SHARE_SHORTEN_URL_KEY" => null
      "~ADD_ELEMENT_CHAIN" => "N"
      "~USE_RATING" => "N"
      "~MAX_VOTE" => null
      "~VOTE_NAMES" => null
      "~MEDIA_PROPERTY" => ""
      "~SLIDER_PROPERTY" => ""
      "~TEMPLATE_THEME" => "blue"
      "SET_META_KEYWORDS" => "Y"
      "SET_META_DESCRIPTION" => "Y"
      "STRICT_SECTION_CHECK" => false
      "SHOW_WORKFLOW" => false
    ]
    
  3. "/local/templates/.default/components/bitrix/news/.default"
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
        $this->__template->setLanguageId($this->getLanguageId());
        if ($this->__template->Init($this, $siteTemplate, $customTemplatePath))
            return true;
        else
            return false;
    }
    /**
     * Function executes initialized template of the component.
     *
     * <p>Note: component must be inited by initComponent method.</p>
     * @return void
     *
     */
    final public function showComponentTemplate()
    {
        if (!$this->__bInited)
            return null;
 
        if ($this->__template)
            $this->__template->includeTemplate($this->arResult);
 
        if(is_array($this->arResultCacheKeys))
        {
            $arNewResult = array();
            foreach($this->arResultCacheKeys as $key)
                if(array_key_exists($key, $this->arResult))
                    $arNewResult[$key] = $this->arResult[$key];
            $this->arResult = $arNewResult;
        }
 
        if(!empty($this->__editButtons))
        {
            foreach($this->__editButtons as $button)
            {
                if($button[0] == 'AddEditAction')
                    $this->addEditAction($button[1], $button[2], $button[3], $button[4]);
                else
                    $this->addDeleteAction($button[1], $button[2], $button[3], $button[4]);
            }
        }
Arguments
  1. array:50 [
      "ID" => "681699"
      "~ID" => "681699"
      "NAME" => "Кровати с ортопедическим основанием: проведем лучшую треть жизни с удовольствием"
      "~NAME" => "Кровати с ортопедическим основанием: проведем лучшую треть жизни с удовольствием"
      "IBLOCK_ID" => "6"
      "~IBLOCK_ID" => "6"
      "IBLOCK_SECTION_ID" => null
      "~IBLOCK_SECTION_ID" => null
      "DETAIL_TEXT" => """
        <p>\r\n
        \tДвуспальная модель Александрия с&nbsp;красивым классическим оформлением имеет, помимо ортопедической решетки, еще и&nbsp;подъемный механизм, благодаря которому отрывается доступ к&nbsp;четырем объемным нишам для хранения белья и&nbsp;других объемных вещей (например, одеял, пледов, пуховиков и&nbsp;так далее).\r\n
        </p>\r\n
        <p>\r\n
        \t В&nbsp;кровати Валенсия решетка не&nbsp;встроенная, а&nbsp;отдельностоящая на&nbsp;собственных ножках. Такое решение позволяет снизить нагрузку на&nbsp;каркас кровати и&nbsp;увеличить срок службы мебели.\r\n
        </p>\r\n
        <p>\r\n
        \t Двуспальная красавица Бона <nobr>нежно-карамельной</nobr> расцветки также оснащена решеткой с&nbsp;гибкими ламелями, которые обеспечивают основанию пружинящий эффект и&nbsp;делают матрас более мягким. Подъемный механизм позволяет сложить в&nbsp;большой ламинированный отдел белье, пуховые одеяла, подушки и&nbsp;даже несезонные вещи.\r\n
        </p>\r\n
        <p>\r\n
        \t Изысканная ортопедическая кровать Нега имеет великолепный стиль, который подчеркивает царственная высокая спинка с&nbsp;резным узором. Ее&nbsp;крепкая и&nbsp;надежная конструкция обеспечит комфорт во&nbsp;время сна, а&nbsp;яркий дизайн украсит интерьер.\r\n
        </p><p>\r\n
         Выбирайте кровать с&nbsp;ортопедическим основанием и&nbsp;начните получать удовольствие от&nbsp;1/3 жизни, проводимой в&nbsp;постели. И&nbsp;тогда каждое утро вы&nbsp;будете иметь отличное настроение, а&nbsp;не&nbsp;боль в&nbsp;позвоночнике от&nbsp;неудобно проведенной ночи.\r\n
        \r\n
        </p>
        """
      "~DETAIL_TEXT" => """
        <p>\r\n
        \tДвуспальная модель Александрия с&nbsp;красивым классическим оформлением имеет, помимо ортопедической решетки, еще и&nbsp;подъемный механизм, благодаря которому отрывается доступ к&nbsp;четырем объемным нишам для хранения белья и&nbsp;других объемных вещей (например, одеял, пледов, пуховиков и&nbsp;так далее).\r\n
        </p>\r\n
        <p>\r\n
        \t В&nbsp;кровати Валенсия решетка не&nbsp;встроенная, а&nbsp;отдельностоящая на&nbsp;собственных ножках. Такое решение позволяет снизить нагрузку на&nbsp;каркас кровати и&nbsp;увеличить срок службы мебели.\r\n
        </p>\r\n
        <p>\r\n
        \t Двуспальная красавица Бона <nobr>нежно-карамельной</nobr> расцветки также оснащена решеткой с&nbsp;гибкими ламелями, которые обеспечивают основанию пружинящий эффект и&nbsp;делают матрас более мягким. Подъемный механизм позволяет сложить в&nbsp;большой ламинированный отдел белье, пуховые одеяла, подушки и&nbsp;даже несезонные вещи.\r\n
        </p>\r\n
        <p>\r\n
        \t Изысканная ортопедическая кровать Нега имеет великолепный стиль, который подчеркивает царственная высокая спинка с&nbsp;резным узором. Ее&nbsp;крепкая и&nbsp;надежная конструкция обеспечит комфорт во&nbsp;время сна, а&nbsp;яркий дизайн украсит интерьер.\r\n
        </p><p>\r\n
         Выбирайте кровать с&nbsp;ортопедическим основанием и&nbsp;начните получать удовольствие от&nbsp;1/3 жизни, проводимой в&nbsp;постели. И&nbsp;тогда каждое утро вы&nbsp;будете иметь отличное настроение, а&nbsp;не&nbsp;боль в&nbsp;позвоночнике от&nbsp;неудобно проведенной ночи.\r\n
        \r\n
        </p>
        """
      "DETAIL_TEXT_TYPE" => "html"
      "~DETAIL_TEXT_TYPE" => "html"
      "PREVIEW_TEXT" => "<p>Ночной отдых&nbsp;&mdash; это наше все: здоровье, энергия, силы, позитивное настроение. Хорошо выспавшийся человек способен горы свернуть и&nbsp;достичь высоких результатов в&nbsp;работе. Именно такой здоровый сон способна обеспечить ортопедическая мебель&nbsp;&mdash; большие двуспальные кровати с&nbsp;гибким <nobr>основанием-латами</nobr>. Подобным основанием оснащены несколько <nobr>кроватей-новинок</nobr> из&nbsp;нашего каталога.</p>"
      "~PREVIEW_TEXT" => "<p>Ночной отдых&nbsp;&mdash; это наше все: здоровье, энергия, силы, позитивное настроение. Хорошо выспавшийся человек способен горы свернуть и&nbsp;достичь высоких результатов в&nbsp;работе. Именно такой здоровый сон способна обеспечить ортопедическая мебель&nbsp;&mdash; большие двуспальные кровати с&nbsp;гибким <nobr>основанием-латами</nobr>. Подобным основанием оснащены несколько <nobr>кроватей-новинок</nobr> из&nbsp;нашего каталога.</p>"
      "PREVIEW_TEXT_TYPE" => "html"
      "~PREVIEW_TEXT_TYPE" => "html"
      "DETAIL_PICTURE" => null
      "~DETAIL_PICTURE" => null
      "TIMESTAMP_X" => "19.12.2017 16:47:10"
      "~TIMESTAMP_X" => "19.12.2017 16:47:10"
      "ACTIVE_FROM" => null
      "~ACTIVE_FROM" => null
      "LIST_PAGE_URL" => "/helpful-information/"
      "~LIST_PAGE_URL" => "/helpful-information/"
      "DETAIL_PAGE_URL" => "/helpful-information/bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure/"
      "~DETAIL_PAGE_URL" => "/helpful-information/bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure/"
      "LANG_DIR" => "/"
      "~LANG_DIR" => "/"
      "CODE" => "bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure"
      "~CODE" => "bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure"
      "EXTERNAL_ID" => "681699"
      "~EXTERNAL_ID" => "681699"
      "IBLOCK_TYPE_ID" => "lists"
      "~IBLOCK_TYPE_ID" => "lists"
      "IBLOCK_CODE" => "helpful"
      "~IBLOCK_CODE" => "helpful"
      "IBLOCK_EXTERNAL_ID" => ""
      "~IBLOCK_EXTERNAL_ID" => ""
      "LID" => "s1"
      "~LID" => "s1"
      "NAV_RESULT" => false
      "DISPLAY_ACTIVE_FROM" => ""
      "IPROPERTY_VALUES" => array:1 [
        "ELEMENT_META_TITLE" => "Кровати с ортопедическим основанием: проведем лучшую треть жизни с удовольствием | Азбука Мебели"
      ]
      "FIELDS" => []
      "PROPERTIES" => array:2 [
        "production" => array:36 [
          "ID" => "24586"
          "TIMESTAMP_X" => "2017-09-17 10:34:49"
          "IBLOCK_ID" => "6"
          "NAME" => "Прикрепленный товар"
          "ACTIVE" => "Y"
          "SORT" => "500"
          "CODE" => "production"
          "DEFAULT_VALUE" => ""
          "PROPERTY_TYPE" => "E"
          "ROW_COUNT" => "1"
          "COL_COUNT" => "30"
          "LIST_TYPE" => "L"
          "MULTIPLE" => "Y"
          "XML_ID" => ""
          "FILE_TYPE" => ""
          "MULTIPLE_CNT" => "10"
          "TMP_ID" => null
          "LINK_IBLOCK_ID" => "1"
          "WITH_DESCRIPTION" => "N"
          "SEARCHABLE" => "N"
          "FILTRABLE" => "N"
          "IS_REQUIRED" => "N"
          "VERSION" => "1"
          "USER_TYPE" => null
          "USER_TYPE_SETTINGS" => null
          "HINT" => ""
          "PROPERTY_VALUE_ID" => array:4 [
            0 => "76033206"
            1 => "76033207"
            2 => "76033208"
            3 => "76033209"
          ]
          "VALUE" => array:4 [
            0 => "515153"
            1 => "514284"
            2 => "613472"
            3 => "515645"
          ]
          "DESCRIPTION" => array:4 [
            0 => ""
            1 => ""
            2 => ""
            3 => ""
          ]
          "VALUE_ENUM" => null
          "VALUE_XML_ID" => null
          "VALUE_SORT" => null
          "~VALUE" => array:4 [
            0 => "515153"
            1 => "514284"
            2 => "613472"
            3 => "515645"
          ]
          "~DESCRIPTION" => array:4 [
            0 => ""
            1 => ""
            2 => ""
            3 => ""
          ]
          "~NAME" => "Прикрепленный товар"
          "~DEFAULT_VALUE" => ""
        ]
        "SECTION" => array:36 [
          "ID" => "24711"
          "TIMESTAMP_X" => "2017-12-19 16:38:07"
          "IBLOCK_ID" => "6"
          "NAME" => "Вывести в разделе:"
          "ACTIVE" => "Y"
          "SORT" => "500"
          "CODE" => "SECTION"
          "DEFAULT_VALUE" => ""
          "PROPERTY_TYPE" => "G"
          "ROW_COUNT" => "1"
          "COL_COUNT" => "30"
          "LIST_TYPE" => "L"
          "MULTIPLE" => "Y"
          "XML_ID" => ""
          "FILE_TYPE" => ""
          "MULTIPLE_CNT" => "5"
          "TMP_ID" => null
          "LINK_IBLOCK_ID" => "1"
          "WITH_DESCRIPTION" => "N"
          "SEARCHABLE" => "N"
          "FILTRABLE" => "N"
          "IS_REQUIRED" => "N"
          "VERSION" => "1"
          "USER_TYPE" => null
          "USER_TYPE_SETTINGS" => null
          "HINT" => ""
          "PROPERTY_VALUE_ID" => array:1 [
            0 => "79334230"
          ]
          "VALUE" => array:1 [
            0 => "2325"
          ]
          "DESCRIPTION" => array:1 [
            0 => null
          ]
          "VALUE_ENUM" => null
          "VALUE_XML_ID" => null
          "VALUE_SORT" => null
          "~VALUE" => array:1 [
            0 => "2325"
          ]
          "~DESCRIPTION" => array:1 [
            0 => null
          ]
          "~NAME" => "Вывести в разделе:"
          "~DEFAULT_VALUE" => ""
        ]
      ]
      "DISPLAY_PROPERTIES" => array:1 [
        "production" => array:38 [
          "ID" => "24586"
          "TIMESTAMP_X" => "2017-09-17 10:34:49"
          "IBLOCK_ID" => "6"
          "NAME" => "Прикрепленный товар"
          "ACTIVE" => "Y"
          "SORT" => "500"
          "CODE" => "production"
          "DEFAULT_VALUE" => ""
          "PROPERTY_TYPE" => "E"
          "ROW_COUNT" => "1"
          "COL_COUNT" => "30"
          "LIST_TYPE" => "L"
          "MULTIPLE" => "Y"
          "XML_ID" => ""
          "FILE_TYPE" => ""
          "MULTIPLE_CNT" => "10"
          "TMP_ID" => null
          "LINK_IBLOCK_ID" => "1"
          "WITH_DESCRIPTION" => "N"
          "SEARCHABLE" => "N"
          "FILTRABLE" => "N"
          "IS_REQUIRED" => "N"
          "VERSION" => "1"
          "USER_TYPE" => null
          "USER_TYPE_SETTINGS" => null
          "HINT" => ""
          "PROPERTY_VALUE_ID" => array:4 [
            0 => "76033206"
            1 => "76033207"
            2 => "76033208"
            3 => "76033209"
          ]
          "VALUE" => array:4 [
            0 => "515153"
            1 => "514284"
            2 => "613472"
            3 => "515645"
          ]
          "DESCRIPTION" => array:4 [
            0 => ""
            1 => ""
            2 => ""
            3 => ""
          ]
          "VALUE_ENUM" => null
          "VALUE_XML_ID" => null
          "VALUE_SORT" => null
          "~VALUE" => array:4 [
            0 => "515153"
            1 => "514284"
            2 => "613472"
            3 => "515645"
          ]
          "~DESCRIPTION" => array:4 [
            0 => ""
            1 => ""
            2 => ""
            3 => ""
          ]
          "~NAME" => "Прикрепленный товар"
          "~DEFAULT_VALUE" => ""
          "DISPLAY_VALUE" => "<a href="/catalog/0000065/515153/">АЛЕКСАНДРИЯ (Рустика/Кожа Ленто)</a>"
          "LINK_ELEMENT_VALUE" => array:1 [
            515153 => array:30 [
              "ID" => "515153"
              "~ID" => "515153"
              "IBLOCK_ID" => "1"
              "~IBLOCK_ID" => "1"
              "NAME" => "АЛЕКСАНДРИЯ (Рустика/Кожа Ленто)"
              "~NAME" => "АЛЕКСАНДРИЯ (Рустика/Кожа Ленто)"
              "DETAIL_PAGE_URL" => "/catalog/0000065/515153/"
              "~DETAIL_PAGE_URL" => "/catalog/0000065/515153/"
              "PREVIEW_PICTURE" => "168955"
              "~PREVIEW_PICTURE" => "168955"
              "DETAIL_PICTURE" => null
              "~DETAIL_PICTURE" => null
              "SORT" => "500"
              "~SORT" => "500"
              "LANG_DIR" => "/"
              "~LANG_DIR" => "/"
              "CODE" => "131062"
              "~CODE" => "131062"
              "EXTERNAL_ID" => "a8a36463-76ba-11e5-b0f4-001e67218051"
              "~EXTERNAL_ID" => "a8a36463-76ba-11e5-b0f4-001e67218051"
              "IBLOCK_SECTION_ID" => "2303"
              "~IBLOCK_SECTION_ID" => "2303"
              "IBLOCK_TYPE_ID" => "catalogs"
              "~IBLOCK_TYPE_ID" => "catalogs"
              "IBLOCK_CODE" => "catalog"
              "~IBLOCK_CODE" => "catalog"
              "IBLOCK_EXTERNAL_ID" => ""
              "~IBLOCK_EXTERNAL_ID" => ""
              "LID" => "s1"
              "~LID" => "s1"
            ]
          ]
        ]
      ]
      "IBLOCK" => array:88 [
        "ID" => "6"
        "~ID" => "6"
        "TIMESTAMP_X" => "12.05.2016 05:34:21"
        "~TIMESTAMP_X" => "12.05.2016 05:34:21"
        "IBLOCK_TYPE_ID" => "lists"
        "~IBLOCK_TYPE_ID" => "lists"
        "LID" => "s1"
        "~LID" => "s1"
        "CODE" => "helpful"
        "~CODE" => "helpful"
        "NAME" => "Полезная информация"
        "~NAME" => "Полезная информация"
        "ACTIVE" => "Y"
        "~ACTIVE" => "Y"
        "SORT" => "500"
        "~SORT" => "500"
        "LIST_PAGE_URL" => "/helpful-information/"
        "~LIST_PAGE_URL" => "/helpful-information/"
        "DETAIL_PAGE_URL" => "#SITE_DIR#/helpful-information/#ELEMENT_CODE#/"
        "~DETAIL_PAGE_URL" => "#SITE_DIR#/helpful-information/#ELEMENT_CODE#/"
        "SECTION_PAGE_URL" => "#SITE_DIR#/helpful-information/"
        "~SECTION_PAGE_URL" => "#SITE_DIR#/helpful-information/"
        "CANONICAL_PAGE_URL" => ""
        "~CANONICAL_PAGE_URL" => ""
        "PICTURE" => null
        "~PICTURE" => null
        "DESCRIPTION" => ""
        "~DESCRIPTION" => ""
        "DESCRIPTION_TYPE" => "text"
        "~DESCRIPTION_TYPE" => "text"
        "RSS_TTL" => "24"
        "~RSS_TTL" => "24"
        "RSS_ACTIVE" => "Y"
        "~RSS_ACTIVE" => "Y"
        "RSS_FILE_ACTIVE" => "N"
        "~RSS_FILE_ACTIVE" => "N"
        "RSS_FILE_LIMIT" => null
        "~RSS_FILE_LIMIT" => null
        "RSS_FILE_DAYS" => null
        "~RSS_FILE_DAYS" => null
        "RSS_YANDEX_ACTIVE" => "N"
        "~RSS_YANDEX_ACTIVE" => "N"
        "XML_ID" => ""
        "~XML_ID" => ""
        "TMP_ID" => null
        "~TMP_ID" => null
        "INDEX_ELEMENT" => "Y"
        "~INDEX_ELEMENT" => "Y"
        "INDEX_SECTION" => "N"
        "~INDEX_SECTION" => "N"
        "WORKFLOW" => "N"
        "~WORKFLOW" => "N"
        "BIZPROC" => "N"
        "~BIZPROC" => "N"
        "SECTION_CHOOSER" => "L"
        "~SECTION_CHOOSER" => "L"
        "LIST_MODE" => "C"
        "~LIST_MODE" => "C"
        "RIGHTS_MODE" => "S"
        "~RIGHTS_MODE" => "S"
        "SECTION_PROPERTY" => "N"
        "~SECTION_PROPERTY" => "N"
        "PROPERTY_INDEX" => "N"
        "~PROPERTY_INDEX" => "N"
        "VERSION" => "1"
        "~VERSION" => "1"
        "LAST_CONV_ELEMENT" => "0"
        "~LAST_CONV_ELEMENT" => "0"
        "SOCNET_GROUP_ID" => null
        "~SOCNET_GROUP_ID" => null
        "EDIT_FILE_BEFORE" => ""
        "~EDIT_FILE_BEFORE" => ""
        "EDIT_FILE_AFTER" => ""
        "~EDIT_FILE_AFTER" => ""
        "SECTIONS_NAME" => "Разделы"
        "~SECTIONS_NAME" => "Разделы"
        "SECTION_NAME" => "Раздел"
        "~SECTION_NAME" => "Раздел"
        "ELEMENTS_NAME" => "Элементы"
        "~ELEMENTS_NAME" => "Элементы"
        "ELEMENT_NAME" => "Элемент"
        "~ELEMENT_NAME" => "Элемент"
        "EXTERNAL_ID" => ""
        "~EXTERNAL_ID" => ""
        "LANG_DIR" => "/"
        "~LANG_DIR" => "/"
        "SERVER_NAME" => "azbykamebeli.ru"
        "~SERVER_NAME" => "azbykamebeli.ru"
      ]
      "SECTION" => array:1 [
        "PATH" => []
      ]
      "SECTION_URL" => ""
      "META_TAGS" => array:2 [
        "KEYWORDS" => ""
        "DESCRIPTION" => ""
      ]
    ]
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
 
        return $result;
    }
    /**
     * Function executes the template.
     *
     * <p>Note: component must be inited by initComponent method.</p>
     * @param string $templatePage
     * @param string $customTemplatePath
     * @return void
     *
     */
    final public function includeComponentTemplate($templatePage = "", $customTemplatePath = "")
    {
        if (!$this->__bInited)
            return null;
 
        if ($this->initComponentTemplate($templatePage, $this->getSiteTemplateId(), $customTemplatePath))
        {
            $this->showComponentTemplate();
            if($this->__component_epilog)
                $this->includeComponentEpilog($this->__component_epilog);
        }
        else
        {
            $this->abortResultCache();
            $this->__showError(str_replace(
                array("#PAGE#", "#NAME#"),
                array($templatePage, $this->getTemplateName()),
                "Cannot find '#NAME#' template with page '#PAGE#'"
            ));
        }
    }
    /**
     * Function initializes the template of the component. Returns true on success.
     *
     * <p>Instansiates the template object and calls it's init function.</p>
     * <p>Note: component must be inited by initComponent method.</p>
     * @param string $templatePage
     * @param string|bool $siteTemplate
/
var
/
www
/
prod
/
bitrix
/
components
/
bitrix
/
news.detail
/
component.php
                unset($metaKeywords);
            }
            if ($arParams["SET_META_DESCRIPTION"] === 'Y')
            {
                $metaDescription = \Bitrix\Main\Type\Collection::firstNotEmpty(
                    $arResult["PROPERTIES"], array($arParams["META_DESCRIPTION"], "VALUE")
                    ,$arResult["IPROPERTY_VALUES"], "ELEMENT_META_DESCRIPTION"
                );
                $arResult["META_TAGS"]["DESCRIPTION"] = (
                    is_array($metaDescription)
                    ? implode(" ", $metaDescription)
                    : $metaDescription
                );
                unset($metaDescription);
            }
        }
 
        $this->setResultCacheKeys($resultCacheKeys);
 
        $this->includeComponentTemplate();
    }
    else
    {
        $this->abortResultCache();
        Iblock\Component\Tools::process404(
            trim($arParams["MESSAGE_404"]) ?: GetMessage("T_NEWS_DETAIL_NF")
            ,true
            ,$arParams["SET_STATUS_404"] === "Y"
            ,$arParams["SHOW_404"] === "Y"
            ,$arParams["FILE_404"]
        );
    }
}
 
if(isset($arResult["ID"]))
{
    $arTitleOptions = null;
    if(Loader::includeModule("iblock"))
    {
        CIBlockElement::CounterInc($arResult["ID"]);
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
        $arResult = &$this->arResult;
 
        $componentPath = $this->__path;
        $componentName = $this->__name;
        $componentTemplate = $this->getTemplateName();
 
        if ($this->__parent)
        {
            $parentComponentName = $this->__parent->__name;
            $parentComponentPath = $this->__parent->__path;
            $parentComponentTemplate = $this->__parent->getTemplateName();
        }
        else
        {
            $parentComponentName = "";
            $parentComponentPath = "";
            $parentComponentTemplate = "";
        }
 
        return include($_SERVER["DOCUMENT_ROOT"].$this->__path."/component.php");
    }
    /**
     * Function executes the component. Returns the result of it's execution.
     *
     * <p>Note: component must be inited by initComponent method.</p>
     * @param string $componentTemplate
     * @param array[string]mixed $arParams
     * @param CBitrixComponent $parentComponent
     * @return mixed
     *
     */
    final public function includeComponent($componentTemplate, $arParams, $parentComponent)
    {
        if (!$this->__bInited)
            return null;
 
        if ($componentTemplate !== false)
            $this->setTemplateName($componentTemplate);
 
        if ($parentComponent instanceof cbitrixcomponent)
Arguments
  1. "/var/www/prod/bitrix/components/bitrix/news.detail/component.php"
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
 
            $componentFrame = new \Bitrix\Main\Composite\Internals\AutomaticArea($component);
            $componentFrame->start();
 
            $result = $component->executeComponent();
            $this->__arIncludeAreaIcons = $component->__arIncludeAreaIcons;
            $frameMode = $component->getFrameMode();
 
            $componentFrame->end();
        }
        else
        {
            $this->includeComponentLang();
            $this->__prepareComponentParams($arParams);
            $this->arParams = $arParams;
 
            $componentFrame = new \Bitrix\Main\Composite\Internals\AutomaticArea($this);
            $componentFrame->start();
 
            $result = $this->__IncludeComponent();
            $frameMode = $this->getFrameMode();
 
            $componentFrame->end();
        }
 
        if (!$frameMode)
        {
            $page = \Bitrix\Main\Composite\Page::getInstance();
            $page->giveNegativeComponentVote($this->__name);
        }
 
        return $result;
    }
    /**
     * Function executes the template.
     *
     * <p>Note: component must be inited by initComponent method.</p>
     * @param string $templatePage
     * @param string $customTemplatePath
     * @return void
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
main.php
 
        $bDrawIcons = ((!isset($arFunctionParams["HIDE_ICONS"]) || $arFunctionParams["HIDE_ICONS"] <> "Y") && $APPLICATION->GetShowIncludeAreas());
 
        if($bDrawIcons)
            echo $this->IncludeStringBefore();
 
        $result = null;
        $bComponentEnabled = (!isset($arFunctionParams["ACTIVE_COMPONENT"]) || $arFunctionParams["ACTIVE_COMPONENT"] <> "N");
 
        $component = new CBitrixComponent();
        if($component->InitComponent($componentName))
        {
            $obAjax = null;
            if($bComponentEnabled)
            {
                if($arParams['AJAX_MODE'] == 'Y')
                    $obAjax = new CComponentAjax($componentName, $componentTemplate, $arParams, $parentComponent);
 
                $this->__componentStack[] = $component;
                $result = $component->IncludeComponent($componentTemplate, $arParams, $parentComponent);
 
                array_pop($this->__componentStack);
            }
 
            if($bDrawIcons)
            {
                $panel = new CComponentPanel($component, $componentName, $componentTemplate, $parentComponent, $bComponentEnabled);
                $arIcons = $panel->GetIcons();
 
                echo $s = $this->IncludeStringAfter($arIcons["icons"], $arIcons["parameters"]);
            }
 
            if($bComponentEnabled && $obAjax)
            {
                $obAjax->Process();
            }
        }
 
        if($bShowDebug)
            echo $debug->Output($componentName, "/bitrix/components".$componentRelativePath."/component.php", $arParams["CACHE_TYPE"].$arParams["MENU_CACHE_TYPE"]);
Arguments
  1. "articles"
    
  2. array:108 [
      "DISPLAY_DATE" => "Y"
      "DISPLAY_NAME" => "N"
      "DISPLAY_PICTURE" => "Y"
      "DISPLAY_PREVIEW_TEXT" => "Y"
      "IBLOCK_TYPE" => "lists"
      "IBLOCK_ID" => "6"
      "FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "PROPERTY_CODE" => array:2 [
        0 => "production"
        1 => ""
      ]
      "DETAIL_URL" => "/helpful-information/#ELEMENT_CODE#/"
      "SECTION_URL" => "/helpful-information/"
      "META_KEYWORDS" => "-"
      "META_DESCRIPTION" => "-"
      "BROWSER_TITLE" => "N"
      "SET_CANONICAL_URL" => "N"
      "DISPLAY_PANEL" => null
      "SET_LAST_MODIFIED" => "N"
      "SET_TITLE" => "N"
      "SET_BROWSER_TITLE" => "N"
      "MESSAGE_404" => ""
      "SET_STATUS_404" => "Y"
      "SHOW_404" => "Y"
      "FILE_404" => null
      "INCLUDE_IBLOCK_INTO_CHAIN" => "Y"
      "ADD_SECTIONS_CHAIN" => "Y"
      "ACTIVE_DATE_FORMAT" => "d.m.Y"
      "CACHE_TYPE" => "A"
      "CACHE_TIME" => "36000000"
      "CACHE_GROUPS" => "Y"
      "USE_PERMISSIONS" => "N"
      "GROUP_PERMISSIONS" => null
      "DISPLAY_TOP_PAGER" => "N"
      "DISPLAY_BOTTOM_PAGER" => "Y"
      "PAGER_TITLE" => "Страница"
      "PAGER_SHOW_ALWAYS" => "N"
      "PAGER_TEMPLATE" => ""
      "PAGER_SHOW_ALL" => "Y"
      "CHECK_DATES" => "Y"
      "ELEMENT_ID" => null
      "ELEMENT_CODE" => "bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure"
      "IBLOCK_URL" => "/helpful-information/"
      "SEARCH_PAGE" => "/helpful-information/"
      "USE_SHARE" => "N"
      "SHARE_HIDE" => null
      "SHARE_TEMPLATE" => null
      "SHARE_HANDLERS" => null
      "SHARE_SHORTEN_URL_LOGIN" => null
      "SHARE_SHORTEN_URL_KEY" => null
      "ADD_ELEMENT_CHAIN" => "N"
      "USE_RATING" => "N"
      "MAX_VOTE" => null
      "VOTE_NAMES" => null
      "MEDIA_PROPERTY" => ""
      "SLIDER_PROPERTY" => ""
      "TEMPLATE_THEME" => "blue"
      "~DISPLAY_DATE" => "Y"
      "~DISPLAY_NAME" => "N"
      "~DISPLAY_PICTURE" => "Y"
      "~DISPLAY_PREVIEW_TEXT" => "Y"
      "~IBLOCK_TYPE" => "lists"
      "~IBLOCK_ID" => "6"
      "~FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "~PROPERTY_CODE" => array:2 [
        0 => "production"
        1 => ""
      ]
      "~DETAIL_URL" => "/helpful-information/#ELEMENT_CODE#/"
      "~SECTION_URL" => "/helpful-information/"
      "~META_KEYWORDS" => "-"
      "~META_DESCRIPTION" => "-"
      "~BROWSER_TITLE" => "N"
      "~SET_CANONICAL_URL" => "N"
      "~DISPLAY_PANEL" => null
      "~SET_LAST_MODIFIED" => "N"
      "~SET_TITLE" => "N"
      "~SET_BROWSER_TITLE" => "N"
      "~MESSAGE_404" => ""
      "~SET_STATUS_404" => "Y"
      "~SHOW_404" => "Y"
      "~FILE_404" => null
      "~INCLUDE_IBLOCK_INTO_CHAIN" => "Y"
      "~ADD_SECTIONS_CHAIN" => "Y"
      "~ACTIVE_DATE_FORMAT" => "d.m.Y"
      "~CACHE_TYPE" => "A"
      "~CACHE_TIME" => "36000000"
      "~CACHE_GROUPS" => "Y"
      "~USE_PERMISSIONS" => "N"
      "~GROUP_PERMISSIONS" => null
      "~DISPLAY_TOP_PAGER" => "N"
      "~DISPLAY_BOTTOM_PAGER" => "Y"
      "~PAGER_TITLE" => "Страница"
      "~PAGER_SHOW_ALWAYS" => "N"
      "~PAGER_TEMPLATE" => ""
      "~PAGER_SHOW_ALL" => "Y"
      "~CHECK_DATES" => "Y"
      "~ELEMENT_ID" => null
      "~ELEMENT_CODE" => "bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure"
      "~IBLOCK_URL" => "/helpful-information/"
      "~SEARCH_PAGE" => "/helpful-information/"
      "~USE_SHARE" => "N"
      "~SHARE_HIDE" => null
      "~SHARE_TEMPLATE" => null
      "~SHARE_HANDLERS" => null
      "~SHARE_SHORTEN_URL_LOGIN" => null
      "~SHARE_SHORTEN_URL_KEY" => null
      "~ADD_ELEMENT_CHAIN" => "N"
      "~USE_RATING" => "N"
      "~MAX_VOTE" => null
      "~VOTE_NAMES" => null
      "~MEDIA_PROPERTY" => ""
      "~SLIDER_PROPERTY" => ""
      "~TEMPLATE_THEME" => "blue"
    ]
    
  3. CBitrixComponent {}
    
/
var
/
www
/
prod
/
local
/
templates
/
.default
/
components
/
bitrix
/
news
/
.default
/
detail.php
        "CHECK_DATES" => $arParams["CHECK_DATES"],
        "ELEMENT_ID" => $arResult["VARIABLES"]["ELEMENT_ID"],
        "ELEMENT_CODE" => $arResult["VARIABLES"]["ELEMENT_CODE"],
        "IBLOCK_URL" => $arResult["FOLDER"].$arResult["URL_TEMPLATES"]["news"],
        "SEARCH_PAGE" => $arResult["FOLDER"].$arResult["URL_TEMPLATES"]["search"],
        "USE_SHARE" => $arParams["USE_SHARE"],
        "SHARE_HIDE" => $arParams["SHARE_HIDE"],
        "SHARE_TEMPLATE" => $arParams["SHARE_TEMPLATE"],
        "SHARE_HANDLERS" => $arParams["SHARE_HANDLERS"],
        "SHARE_SHORTEN_URL_LOGIN" => $arParams["SHARE_SHORTEN_URL_LOGIN"],
        "SHARE_SHORTEN_URL_KEY" => $arParams["SHARE_SHORTEN_URL_KEY"],
        "ADD_ELEMENT_CHAIN" => (isset($arParams["ADD_ELEMENT_CHAIN"]) ? $arParams["ADD_ELEMENT_CHAIN"] : ''),
        "USE_RATING" => $arParams["USE_RATING"],
        "MAX_VOTE" => $arParams["MAX_VOTE"],
        "VOTE_NAMES" => $arParams["VOTE_NAMES"],
        "MEDIA_PROPERTY" => $arParams["MEDIA_PROPERTY"],
        "SLIDER_PROPERTY" => $arParams["SLIDER_PROPERTY"],
        "TEMPLATE_THEME" => $arParams["TEMPLATE_THEME"],
    ),
    $component
);?>
 
<p><a href="<?=$arResult["FOLDER"].$arResult["URL_TEMPLATES"]["news"]?>"><?=GetMessage("T_NEWS_DETAIL_BACK")?></a></p>
<?if($arParams["USE_CATEGORIES"]=="Y" && $ElementID):
    global $arCategoryFilter;
    $obCache = new CPHPCache;
    $strCacheID = $componentPath.LANG.$arParams["IBLOCK_ID"].$ElementID.$arParams["CATEGORY_CODE"];
    if(($tzOffset = CTimeZone::GetOffset()) <> 0)
        $strCacheID .= "_".$tzOffset;
    if($arParams["CACHE_TYPE"] == "N" || $arParams["CACHE_TYPE"] == "A" && COption::GetOptionString("main", "component_cache_on", "Y") == "N")
        $CACHE_TIME = 0;
    else
        $CACHE_TIME = $arParams["CACHE_TIME"];
    if($obCache->StartDataCache($CACHE_TIME, $strCacheID, $componentPath))
    {
        $rsProperties = CIBlockElement::GetProperty($arParams["IBLOCK_ID"], $ElementID, "sort", "asc", array("ACTIVE"=>"Y","CODE"=>$arParams["CATEGORY_CODE"]));
        $arCategoryFilter = array();
        while($arProperty = $rsProperties->Fetch())
        {
            if(is_array($arProperty["VALUE"]) && count($arProperty["VALUE"])>0)
Arguments
  1. "bitrix:news.detail"
    
  2. "articles"
    
  3. array:54 [
      "DISPLAY_DATE" => "Y"
      "DISPLAY_NAME" => "N"
      "DISPLAY_PICTURE" => "Y"
      "DISPLAY_PREVIEW_TEXT" => "Y"
      "IBLOCK_TYPE" => "lists"
      "IBLOCK_ID" => "6"
      "FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "PROPERTY_CODE" => array:2 [
        0 => "production"
        1 => ""
      ]
      "DETAIL_URL" => "/helpful-information/#ELEMENT_CODE#/"
      "SECTION_URL" => "/helpful-information/"
      "META_KEYWORDS" => "-"
      "META_DESCRIPTION" => "-"
      "BROWSER_TITLE" => "N"
      "SET_CANONICAL_URL" => "N"
      "DISPLAY_PANEL" => null
      "SET_LAST_MODIFIED" => "N"
      "SET_TITLE" => "N"
      "SET_BROWSER_TITLE" => "N"
      "MESSAGE_404" => ""
      "SET_STATUS_404" => "Y"
      "SHOW_404" => "Y"
      "FILE_404" => null
      "INCLUDE_IBLOCK_INTO_CHAIN" => "Y"
      "ADD_SECTIONS_CHAIN" => "Y"
      "ACTIVE_DATE_FORMAT" => "d.m.Y"
      "CACHE_TYPE" => "A"
      "CACHE_TIME" => "36000000"
      "CACHE_GROUPS" => "Y"
      "USE_PERMISSIONS" => "N"
      "GROUP_PERMISSIONS" => null
      "DISPLAY_TOP_PAGER" => "N"
      "DISPLAY_BOTTOM_PAGER" => "Y"
      "PAGER_TITLE" => "Страница"
      "PAGER_SHOW_ALWAYS" => "N"
      "PAGER_TEMPLATE" => ""
      "PAGER_SHOW_ALL" => "Y"
      "CHECK_DATES" => "Y"
      "ELEMENT_ID" => null
      "ELEMENT_CODE" => "bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure"
      "IBLOCK_URL" => "/helpful-information/"
      "SEARCH_PAGE" => "/helpful-information/"
      "USE_SHARE" => "N"
      "SHARE_HIDE" => null
      "SHARE_TEMPLATE" => null
      "SHARE_HANDLERS" => null
      "SHARE_SHORTEN_URL_LOGIN" => null
      "SHARE_SHORTEN_URL_KEY" => null
      "ADD_ELEMENT_CHAIN" => "N"
      "USE_RATING" => "N"
      "MAX_VOTE" => null
      "VOTE_NAMES" => null
      "MEDIA_PROPERTY" => ""
      "SLIDER_PROPERTY" => ""
      "TEMPLATE_THEME" => "blue"
    ]
    
  4. CBitrixComponent {}
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component_template.php
        /** @noinspection PhpUnusedLocalVariableInspection */
        $templateName = $this->__name;
        /** @noinspection PhpUnusedLocalVariableInspection */
        $templateFile = $this->__file;
        /** @noinspection PhpUnusedLocalVariableInspection */
        $templateFolder = $this->__folder;
        /** @noinspection PhpUnusedLocalVariableInspection */
        $componentPath = $this->__component->GetPath();
 
        $component = &$this->__component;
 
        if ($this->__fileAlt <> '')
        {
            include($_SERVER["DOCUMENT_ROOT"].$this->__fileAlt);
            return null;
        }
 
        $templateData = false;
 
        include($_SERVER["DOCUMENT_ROOT"].$this->__file);
 
        for ($i = count($this->frames) - 1; $i >= 0; $i--)
        {
            $frame = $this->frames[$i];
            if ($frame->isStarted() && !$frame->isEnded())
            {
                $frame->end();
            }
        }
 
        if (!$this->getFrameMode())
        {
            $page = \Bitrix\Main\Composite\Page::getInstance();
            $page->giveNegativeComponentVote($this->__file);
        }
 
        $component_epilog = $this->__folder."/component_epilog.php";
        if(file_exists($_SERVER["DOCUMENT_ROOT"].$component_epilog))
        {
            //These will be available with extract then component will
Arguments
  1. "/var/www/prod/local/templates/.default/components/bitrix/news/.default/detail.php"
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component_template.php
            if ($parentTemplate)
                $parentTemplateFolder = $parentTemplate->GetFolder();
        }
 
        if ($externalEngine)
        {
            $result = call_user_func(
                $arBXAvailableTemplateEngines[$this->__engineID]["function"],
                $this->__file,
                $arResult,
                $arParams,
                $arLangMessages,
                $this->__folder,
                $parentTemplateFolder,
                $this
            );
        }
        else
        {
            $result = $this->__IncludePHPTemplate($arResult, $arParams, $parentTemplateFolder);
        }
 
        return $result;
    }
 
    /**
     * Includes template language file.
     *
     * @param string $relativePath
     * @param false|string $lang
     * @param boolean $return
     *
     * @return array
     */
    public function IncludeLangFile($relativePath = "", $lang = false, $return = false)
    {
        $arLangMessages = array();
 
        if($this->__folder <> '')
        {
Arguments
  1. array:4 [
      "FOLDER" => "/helpful-information/"
      "URL_TEMPLATES" => array:3 [
        "news" => ""
        "detail" => "#ELEMENT_CODE#/"
        "section" => ""
      ]
      "VARIABLES" => array:1 [
        "ELEMENT_CODE" => "bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure"
      ]
      "ALIASES" => []
    ]
    
  2. array:145 [
      "COMPONENT_TEMPLATE" => ".default"
      "IBLOCK_TYPE" => "lists"
      "IBLOCK_ID" => "6"
      "NEWS_COUNT" => "20"
      "USE_SEARCH" => "N"
      "USE_RSS" => "N"
      "USE_RATING" => "N"
      "USE_CATEGORIES" => false
      "USE_FILTER" => "N"
      "SORT_BY1" => "ACTIVE_FROM"
      "SORT_ORDER1" => "DESC"
      "SORT_BY2" => "SORT"
      "SORT_ORDER2" => "ASC"
      "CHECK_DATES" => "Y"
      "SEF_MODE" => "Y"
      "AJAX_MODE" => "N"
      "AJAX_OPTION_JUMP" => "N"
      "AJAX_OPTION_STYLE" => "Y"
      "AJAX_OPTION_HISTORY" => "N"
      "AJAX_OPTION_ADDITIONAL" => ""
      "CACHE_TYPE" => "A"
      "CACHE_TIME" => "36000000"
      "CACHE_FILTER" => "N"
      "CACHE_GROUPS" => "Y"
      "SET_LAST_MODIFIED" => "N"
      "SET_TITLE" => "N"
      "INCLUDE_IBLOCK_INTO_CHAIN" => "Y"
      "ADD_SECTIONS_CHAIN" => "Y"
      "ADD_ELEMENT_CHAIN" => "N"
      "USE_PERMISSIONS" => "N"
      "DISPLAY_DATE" => "Y"
      "DISPLAY_PICTURE" => "Y"
      "DISPLAY_PREVIEW_TEXT" => "Y"
      "USE_SHARE" => "N"
      "PREVIEW_TRUNCATE_LEN" => ""
      "LIST_ACTIVE_DATE_FORMAT" => "d.m.Y"
      "LIST_FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "LIST_PROPERTY_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "HIDE_LINK_WHEN_NO_DETAIL" => "N"
      "DISPLAY_NAME" => "N"
      "META_KEYWORDS" => "-"
      "META_DESCRIPTION" => "-"
      "BROWSER_TITLE" => "-"
      "DETAIL_SET_CANONICAL_URL" => "N"
      "DETAIL_ACTIVE_DATE_FORMAT" => "d.m.Y"
      "DETAIL_FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "DETAIL_PROPERTY_CODE" => array:2 [
        0 => "production"
        1 => ""
      ]
      "DETAIL_DISPLAY_TOP_PAGER" => "N"
      "DETAIL_DISPLAY_BOTTOM_PAGER" => "Y"
      "DETAIL_PAGER_TITLE" => "Страница"
      "DETAIL_PAGER_TEMPLATE" => ""
      "DETAIL_PAGER_SHOW_ALL" => "Y"
      "PAGER_TEMPLATE" => ".default"
      "DISPLAY_TOP_PAGER" => "N"
      "DISPLAY_BOTTOM_PAGER" => "Y"
      "PAGER_TITLE" => "Новости"
      "PAGER_SHOW_ALWAYS" => "N"
      "PAGER_DESC_NUMBERING" => "N"
      "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000"
      "PAGER_SHOW_ALL" => "N"
      "PAGER_BASE_LINK_ENABLE" => "N"
      "SET_STATUS_404" => "Y"
      "SHOW_404" => "Y"
      "MESSAGE_404" => ""
      "TEMPLATE_THEME" => "blue"
      "MEDIA_PROPERTY" => ""
      "SLIDER_PROPERTY" => ""
      "SEF_FOLDER" => "/helpful-information/"
      "STRICT_SECTION_CHECK" => "N"
      "SEF_URL_TEMPLATES" => array:3 [
        "news" => ""
        "section" => ""
        "detail" => "#ELEMENT_CODE#/"
      ]
      "~COMPONENT_TEMPLATE" => ".default"
      "~IBLOCK_TYPE" => "lists"
      "~IBLOCK_ID" => "6"
      "~NEWS_COUNT" => "20"
      "~USE_SEARCH" => "N"
      "~USE_RSS" => "N"
      "~USE_RATING" => "N"
      "~USE_CATEGORIES" => "N"
      "~USE_FILTER" => "N"
      "~SORT_BY1" => "ACTIVE_FROM"
      "~SORT_ORDER1" => "DESC"
      "~SORT_BY2" => "SORT"
      "~SORT_ORDER2" => "ASC"
      "~CHECK_DATES" => "Y"
      "~SEF_MODE" => "Y"
      "~AJAX_MODE" => "N"
      "~AJAX_OPTION_JUMP" => "N"
      "~AJAX_OPTION_STYLE" => "Y"
      "~AJAX_OPTION_HISTORY" => "N"
      "~AJAX_OPTION_ADDITIONAL" => ""
      "~CACHE_TYPE" => "A"
      "~CACHE_TIME" => "36000000"
      "~CACHE_FILTER" => "N"
      "~CACHE_GROUPS" => "Y"
      "~SET_LAST_MODIFIED" => "N"
      "~SET_TITLE" => "N"
      "~INCLUDE_IBLOCK_INTO_CHAIN" => "Y"
      "~ADD_SECTIONS_CHAIN" => "Y"
      "~ADD_ELEMENT_CHAIN" => "N"
      "~USE_PERMISSIONS" => "N"
      "~DISPLAY_DATE" => "Y"
      "~DISPLAY_PICTURE" => "Y"
      "~DISPLAY_PREVIEW_TEXT" => "Y"
      "~USE_SHARE" => "N"
      "~PREVIEW_TRUNCATE_LEN" => ""
      "~LIST_ACTIVE_DATE_FORMAT" => "d.m.Y"
      "~LIST_FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "~LIST_PROPERTY_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "~HIDE_LINK_WHEN_NO_DETAIL" => "N"
      "~DISPLAY_NAME" => "N"
      "~META_KEYWORDS" => "-"
      "~META_DESCRIPTION" => "-"
      "~BROWSER_TITLE" => "-"
      "~DETAIL_SET_CANONICAL_URL" => "N"
      "~DETAIL_ACTIVE_DATE_FORMAT" => "d.m.Y"
      "~DETAIL_FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "~DETAIL_PROPERTY_CODE" => array:2 [
        0 => "production"
        1 => ""
      ]
      "~DETAIL_DISPLAY_TOP_PAGER" => "N"
      "~DETAIL_DISPLAY_BOTTOM_PAGER" => "Y"
      "~DETAIL_PAGER_TITLE" => "Страница"
      "~DETAIL_PAGER_TEMPLATE" => ""
      "~DETAIL_PAGER_SHOW_ALL" => "Y"
      "~PAGER_TEMPLATE" => ".default"
      "~DISPLAY_TOP_PAGER" => "N"
      "~DISPLAY_BOTTOM_PAGER" => "Y"
      "~PAGER_TITLE" => "Новости"
      "~PAGER_SHOW_ALWAYS" => "N"
      "~PAGER_DESC_NUMBERING" => "N"
      "~PAGER_DESC_NUMBERING_CACHE_TIME" => "36000"
      "~PAGER_SHOW_ALL" => "N"
      "~PAGER_BASE_LINK_ENABLE" => "N"
      "~SET_STATUS_404" => "Y"
      "~SHOW_404" => "Y"
      "~MESSAGE_404" => ""
      "~TEMPLATE_THEME" => "blue"
      "~MEDIA_PROPERTY" => ""
      "~SLIDER_PROPERTY" => ""
      "~SEF_FOLDER" => "/helpful-information/"
      "~STRICT_SECTION_CHECK" => "N"
      "~SEF_URL_TEMPLATES" => array:3 [
        "news" => ""
        "section" => ""
        "detail" => "#ELEMENT_CODE#/"
      ]
      "FILTER_NAME" => ""
      "CATEGORY_CODE" => "CATEGORY"
      "CATEGORY_ITEMS_COUNT" => 5
      "CATEGORY_IBLOCK" => []
      "DETAIL_STRICT_SECTION_CHECK" => "N"
    ]
    
  3. ""
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
        $this->__template->setLanguageId($this->getLanguageId());
        if ($this->__template->Init($this, $siteTemplate, $customTemplatePath))
            return true;
        else
            return false;
    }
    /**
     * Function executes initialized template of the component.
     *
     * <p>Note: component must be inited by initComponent method.</p>
     * @return void
     *
     */
    final public function showComponentTemplate()
    {
        if (!$this->__bInited)
            return null;
 
        if ($this->__template)
            $this->__template->includeTemplate($this->arResult);
 
        if(is_array($this->arResultCacheKeys))
        {
            $arNewResult = array();
            foreach($this->arResultCacheKeys as $key)
                if(array_key_exists($key, $this->arResult))
                    $arNewResult[$key] = $this->arResult[$key];
            $this->arResult = $arNewResult;
        }
 
        if(!empty($this->__editButtons))
        {
            foreach($this->__editButtons as $button)
            {
                if($button[0] == 'AddEditAction')
                    $this->addEditAction($button[1], $button[2], $button[3], $button[4]);
                else
                    $this->addDeleteAction($button[1], $button[2], $button[3], $button[4]);
            }
        }
Arguments
  1. array:4 [
      "FOLDER" => "/helpful-information/"
      "URL_TEMPLATES" => array:3 [
        "news" => ""
        "detail" => "#ELEMENT_CODE#/"
        "section" => ""
      ]
      "VARIABLES" => array:1 [
        "ELEMENT_CODE" => "bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure"
      ]
      "ALIASES" => []
    ]
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
 
        return $result;
    }
    /**
     * Function executes the template.
     *
     * <p>Note: component must be inited by initComponent method.</p>
     * @param string $templatePage
     * @param string $customTemplatePath
     * @return void
     *
     */
    final public function includeComponentTemplate($templatePage = "", $customTemplatePath = "")
    {
        if (!$this->__bInited)
            return null;
 
        if ($this->initComponentTemplate($templatePage, $this->getSiteTemplateId(), $customTemplatePath))
        {
            $this->showComponentTemplate();
            if($this->__component_epilog)
                $this->includeComponentEpilog($this->__component_epilog);
        }
        else
        {
            $this->abortResultCache();
            $this->__showError(str_replace(
                array("#PAGE#", "#NAME#"),
                array($templatePage, $this->getTemplateName()),
                "Cannot find '#NAME#' template with page '#PAGE#'"
            ));
        }
    }
    /**
     * Function initializes the template of the component. Returns true on success.
     *
     * <p>Instansiates the template object and calls it's init function.</p>
     * <p>Note: component must be inited by initComponent method.</p>
     * @param string $templatePage
     * @param string|bool $siteTemplate
/
var
/
www
/
prod
/
bitrix
/
components
/
bitrix
/
news
/
component.php
            "section" => htmlspecialcharsbx($APPLICATION->GetCurPage()."?".$arVariableAliases["SECTION_ID"]."=#SECTION_ID#"),
            "detail" => htmlspecialcharsbx($APPLICATION->GetCurPage()."?".$arVariableAliases["ELEMENT_ID"]."=#ELEMENT_ID#"),
            "search" => htmlspecialcharsbx($APPLICATION->GetCurPage()),
            "rss" => htmlspecialcharsbx($APPLICATION->GetCurPage()."?rss=y"),
            "rss_section" => htmlspecialcharsbx($APPLICATION->GetCurPage()."?".$arVariableAliases["SECTION_ID"]."=#SECTION_ID#&rss=y"),
        ),
        "VARIABLES" => $arVariables,
        "ALIASES" => $arVariableAliases
    );
}
 
if($componentPage=="search")
{
    include_once("newstools.php");
    global $BX_NEWS_DETAIL_URL, $BX_NEWS_SECTION_URL;
    $BX_NEWS_DETAIL_URL = $arResult["FOLDER"].$arResult["URL_TEMPLATES"]["detail"];
    $BX_NEWS_SECTION_URL = $arResult["FOLDER"].$arResult["URL_TEMPLATES"]["section"];
    AddEventHandler("search", "OnSearchGetURL", array("CNewsTools","OnSearchGetURL"), 20);
}
$this->includeComponentTemplate($componentPage);
Arguments
  1. "detail"
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
        $arResult = &$this->arResult;
 
        $componentPath = $this->__path;
        $componentName = $this->__name;
        $componentTemplate = $this->getTemplateName();
 
        if ($this->__parent)
        {
            $parentComponentName = $this->__parent->__name;
            $parentComponentPath = $this->__parent->__path;
            $parentComponentTemplate = $this->__parent->getTemplateName();
        }
        else
        {
            $parentComponentName = "";
            $parentComponentPath = "";
            $parentComponentTemplate = "";
        }
 
        return include($_SERVER["DOCUMENT_ROOT"].$this->__path."/component.php");
    }
    /**
     * Function executes the component. Returns the result of it's execution.
     *
     * <p>Note: component must be inited by initComponent method.</p>
     * @param string $componentTemplate
     * @param array[string]mixed $arParams
     * @param CBitrixComponent $parentComponent
     * @return mixed
     *
     */
    final public function includeComponent($componentTemplate, $arParams, $parentComponent)
    {
        if (!$this->__bInited)
            return null;
 
        if ($componentTemplate !== false)
            $this->setTemplateName($componentTemplate);
 
        if ($parentComponent instanceof cbitrixcomponent)
Arguments
  1. "/var/www/prod/bitrix/components/bitrix/news/component.php"
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
component.php
 
            $componentFrame = new \Bitrix\Main\Composite\Internals\AutomaticArea($component);
            $componentFrame->start();
 
            $result = $component->executeComponent();
            $this->__arIncludeAreaIcons = $component->__arIncludeAreaIcons;
            $frameMode = $component->getFrameMode();
 
            $componentFrame->end();
        }
        else
        {
            $this->includeComponentLang();
            $this->__prepareComponentParams($arParams);
            $this->arParams = $arParams;
 
            $componentFrame = new \Bitrix\Main\Composite\Internals\AutomaticArea($this);
            $componentFrame->start();
 
            $result = $this->__IncludeComponent();
            $frameMode = $this->getFrameMode();
 
            $componentFrame->end();
        }
 
        if (!$frameMode)
        {
            $page = \Bitrix\Main\Composite\Page::getInstance();
            $page->giveNegativeComponentVote($this->__name);
        }
 
        return $result;
    }
    /**
     * Function executes the template.
     *
     * <p>Note: component must be inited by initComponent method.</p>
     * @param string $templatePage
     * @param string $customTemplatePath
     * @return void
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
classes
/
general
/
main.php
 
        $bDrawIcons = ((!isset($arFunctionParams["HIDE_ICONS"]) || $arFunctionParams["HIDE_ICONS"] <> "Y") && $APPLICATION->GetShowIncludeAreas());
 
        if($bDrawIcons)
            echo $this->IncludeStringBefore();
 
        $result = null;
        $bComponentEnabled = (!isset($arFunctionParams["ACTIVE_COMPONENT"]) || $arFunctionParams["ACTIVE_COMPONENT"] <> "N");
 
        $component = new CBitrixComponent();
        if($component->InitComponent($componentName))
        {
            $obAjax = null;
            if($bComponentEnabled)
            {
                if($arParams['AJAX_MODE'] == 'Y')
                    $obAjax = new CComponentAjax($componentName, $componentTemplate, $arParams, $parentComponent);
 
                $this->__componentStack[] = $component;
                $result = $component->IncludeComponent($componentTemplate, $arParams, $parentComponent);
 
                array_pop($this->__componentStack);
            }
 
            if($bDrawIcons)
            {
                $panel = new CComponentPanel($component, $componentName, $componentTemplate, $parentComponent, $bComponentEnabled);
                $arIcons = $panel->GetIcons();
 
                echo $s = $this->IncludeStringAfter($arIcons["icons"], $arIcons["parameters"]);
            }
 
            if($bComponentEnabled && $obAjax)
            {
                $obAjax->Process();
            }
        }
 
        if($bShowDebug)
            echo $debug->Output($componentName, "/bitrix/components".$componentRelativePath."/component.php", $arParams["CACHE_TYPE"].$arParams["MENU_CACHE_TYPE"]);
Arguments
  1. ".default"
    
  2. array:140 [
      "COMPONENT_TEMPLATE" => ".default"
      "IBLOCK_TYPE" => "lists"
      "IBLOCK_ID" => "6"
      "NEWS_COUNT" => "20"
      "USE_SEARCH" => "N"
      "USE_RSS" => "N"
      "USE_RATING" => "N"
      "USE_CATEGORIES" => "N"
      "USE_FILTER" => "N"
      "SORT_BY1" => "ACTIVE_FROM"
      "SORT_ORDER1" => "DESC"
      "SORT_BY2" => "SORT"
      "SORT_ORDER2" => "ASC"
      "CHECK_DATES" => "Y"
      "SEF_MODE" => "Y"
      "AJAX_MODE" => "N"
      "AJAX_OPTION_JUMP" => "N"
      "AJAX_OPTION_STYLE" => "Y"
      "AJAX_OPTION_HISTORY" => "N"
      "AJAX_OPTION_ADDITIONAL" => ""
      "CACHE_TYPE" => "A"
      "CACHE_TIME" => "36000000"
      "CACHE_FILTER" => "N"
      "CACHE_GROUPS" => "Y"
      "SET_LAST_MODIFIED" => "N"
      "SET_TITLE" => "N"
      "INCLUDE_IBLOCK_INTO_CHAIN" => "Y"
      "ADD_SECTIONS_CHAIN" => "Y"
      "ADD_ELEMENT_CHAIN" => "N"
      "USE_PERMISSIONS" => "N"
      "DISPLAY_DATE" => "Y"
      "DISPLAY_PICTURE" => "Y"
      "DISPLAY_PREVIEW_TEXT" => "Y"
      "USE_SHARE" => "N"
      "PREVIEW_TRUNCATE_LEN" => ""
      "LIST_ACTIVE_DATE_FORMAT" => "d.m.Y"
      "LIST_FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "LIST_PROPERTY_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "HIDE_LINK_WHEN_NO_DETAIL" => "N"
      "DISPLAY_NAME" => "N"
      "META_KEYWORDS" => "-"
      "META_DESCRIPTION" => "-"
      "BROWSER_TITLE" => "-"
      "DETAIL_SET_CANONICAL_URL" => "N"
      "DETAIL_ACTIVE_DATE_FORMAT" => "d.m.Y"
      "DETAIL_FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "DETAIL_PROPERTY_CODE" => array:2 [
        0 => "production"
        1 => ""
      ]
      "DETAIL_DISPLAY_TOP_PAGER" => "N"
      "DETAIL_DISPLAY_BOTTOM_PAGER" => "Y"
      "DETAIL_PAGER_TITLE" => "Страница"
      "DETAIL_PAGER_TEMPLATE" => ""
      "DETAIL_PAGER_SHOW_ALL" => "Y"
      "PAGER_TEMPLATE" => ".default"
      "DISPLAY_TOP_PAGER" => "N"
      "DISPLAY_BOTTOM_PAGER" => "Y"
      "PAGER_TITLE" => "Новости"
      "PAGER_SHOW_ALWAYS" => "N"
      "PAGER_DESC_NUMBERING" => "N"
      "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000"
      "PAGER_SHOW_ALL" => "N"
      "PAGER_BASE_LINK_ENABLE" => "N"
      "SET_STATUS_404" => "Y"
      "SHOW_404" => "Y"
      "MESSAGE_404" => ""
      "TEMPLATE_THEME" => "blue"
      "MEDIA_PROPERTY" => ""
      "SLIDER_PROPERTY" => ""
      "SEF_FOLDER" => "/helpful-information/"
      "STRICT_SECTION_CHECK" => "N"
      "SEF_URL_TEMPLATES" => array:3 [
        "news" => ""
        "section" => ""
        "detail" => "#ELEMENT_CODE#/"
      ]
      "~COMPONENT_TEMPLATE" => ".default"
      "~IBLOCK_TYPE" => "lists"
      "~IBLOCK_ID" => "6"
      "~NEWS_COUNT" => "20"
      "~USE_SEARCH" => "N"
      "~USE_RSS" => "N"
      "~USE_RATING" => "N"
      "~USE_CATEGORIES" => "N"
      "~USE_FILTER" => "N"
      "~SORT_BY1" => "ACTIVE_FROM"
      "~SORT_ORDER1" => "DESC"
      "~SORT_BY2" => "SORT"
      "~SORT_ORDER2" => "ASC"
      "~CHECK_DATES" => "Y"
      "~SEF_MODE" => "Y"
      "~AJAX_MODE" => "N"
      "~AJAX_OPTION_JUMP" => "N"
      "~AJAX_OPTION_STYLE" => "Y"
      "~AJAX_OPTION_HISTORY" => "N"
      "~AJAX_OPTION_ADDITIONAL" => ""
      "~CACHE_TYPE" => "A"
      "~CACHE_TIME" => "36000000"
      "~CACHE_FILTER" => "N"
      "~CACHE_GROUPS" => "Y"
      "~SET_LAST_MODIFIED" => "N"
      "~SET_TITLE" => "N"
      "~INCLUDE_IBLOCK_INTO_CHAIN" => "Y"
      "~ADD_SECTIONS_CHAIN" => "Y"
      "~ADD_ELEMENT_CHAIN" => "N"
      "~USE_PERMISSIONS" => "N"
      "~DISPLAY_DATE" => "Y"
      "~DISPLAY_PICTURE" => "Y"
      "~DISPLAY_PREVIEW_TEXT" => "Y"
      "~USE_SHARE" => "N"
      "~PREVIEW_TRUNCATE_LEN" => ""
      "~LIST_ACTIVE_DATE_FORMAT" => "d.m.Y"
      "~LIST_FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "~LIST_PROPERTY_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "~HIDE_LINK_WHEN_NO_DETAIL" => "N"
      "~DISPLAY_NAME" => "N"
      "~META_KEYWORDS" => "-"
      "~META_DESCRIPTION" => "-"
      "~BROWSER_TITLE" => "-"
      "~DETAIL_SET_CANONICAL_URL" => "N"
      "~DETAIL_ACTIVE_DATE_FORMAT" => "d.m.Y"
      "~DETAIL_FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "~DETAIL_PROPERTY_CODE" => array:2 [
        0 => "production"
        1 => ""
      ]
      "~DETAIL_DISPLAY_TOP_PAGER" => "N"
      "~DETAIL_DISPLAY_BOTTOM_PAGER" => "Y"
      "~DETAIL_PAGER_TITLE" => "Страница"
      "~DETAIL_PAGER_TEMPLATE" => ""
      "~DETAIL_PAGER_SHOW_ALL" => "Y"
      "~PAGER_TEMPLATE" => ".default"
      "~DISPLAY_TOP_PAGER" => "N"
      "~DISPLAY_BOTTOM_PAGER" => "Y"
      "~PAGER_TITLE" => "Новости"
      "~PAGER_SHOW_ALWAYS" => "N"
      "~PAGER_DESC_NUMBERING" => "N"
      "~PAGER_DESC_NUMBERING_CACHE_TIME" => "36000"
      "~PAGER_SHOW_ALL" => "N"
      "~PAGER_BASE_LINK_ENABLE" => "N"
      "~SET_STATUS_404" => "Y"
      "~SHOW_404" => "Y"
      "~MESSAGE_404" => ""
      "~TEMPLATE_THEME" => "blue"
      "~MEDIA_PROPERTY" => ""
      "~SLIDER_PROPERTY" => ""
      "~SEF_FOLDER" => "/helpful-information/"
      "~STRICT_SECTION_CHECK" => "N"
      "~SEF_URL_TEMPLATES" => array:3 [
        "news" => ""
        "section" => ""
        "detail" => "#ELEMENT_CODE#/"
      ]
    ]
    
  3. false
    
/
var
/
www
/
prod
/
helpful-information
/
index.php
        "PAGER_SHOW_ALWAYS" => "N",
        "PAGER_DESC_NUMBERING" => "N",
        "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
        "PAGER_SHOW_ALL" => "N",
        "PAGER_BASE_LINK_ENABLE" => "N",
        "SET_STATUS_404" => "Y",
        "SHOW_404" => "Y",
        "MESSAGE_404" => "",
        "TEMPLATE_THEME" => "blue",
        "MEDIA_PROPERTY" => "",
        "SLIDER_PROPERTY" => "",
        "SEF_FOLDER" => "/helpful-information/",
        "STRICT_SECTION_CHECK" => "N",
        "SEF_URL_TEMPLATES" => array(
            "news" => "",
            "section" => "",
            "detail" => "#ELEMENT_CODE#/",
        )
    ),
    false
);?><br>
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
Arguments
  1. "bitrix:news"
    
  2. ".default"
    
  3. array:70 [
      "COMPONENT_TEMPLATE" => ".default"
      "IBLOCK_TYPE" => "lists"
      "IBLOCK_ID" => "6"
      "NEWS_COUNT" => "20"
      "USE_SEARCH" => "N"
      "USE_RSS" => "N"
      "USE_RATING" => "N"
      "USE_CATEGORIES" => "N"
      "USE_FILTER" => "N"
      "SORT_BY1" => "ACTIVE_FROM"
      "SORT_ORDER1" => "DESC"
      "SORT_BY2" => "SORT"
      "SORT_ORDER2" => "ASC"
      "CHECK_DATES" => "Y"
      "SEF_MODE" => "Y"
      "AJAX_MODE" => "N"
      "AJAX_OPTION_JUMP" => "N"
      "AJAX_OPTION_STYLE" => "Y"
      "AJAX_OPTION_HISTORY" => "N"
      "AJAX_OPTION_ADDITIONAL" => ""
      "CACHE_TYPE" => "A"
      "CACHE_TIME" => "36000000"
      "CACHE_FILTER" => "N"
      "CACHE_GROUPS" => "Y"
      "SET_LAST_MODIFIED" => "N"
      "SET_TITLE" => "N"
      "INCLUDE_IBLOCK_INTO_CHAIN" => "Y"
      "ADD_SECTIONS_CHAIN" => "Y"
      "ADD_ELEMENT_CHAIN" => "N"
      "USE_PERMISSIONS" => "N"
      "DISPLAY_DATE" => "Y"
      "DISPLAY_PICTURE" => "Y"
      "DISPLAY_PREVIEW_TEXT" => "Y"
      "USE_SHARE" => "N"
      "PREVIEW_TRUNCATE_LEN" => ""
      "LIST_ACTIVE_DATE_FORMAT" => "d.m.Y"
      "LIST_FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "LIST_PROPERTY_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "HIDE_LINK_WHEN_NO_DETAIL" => "N"
      "DISPLAY_NAME" => "N"
      "META_KEYWORDS" => "-"
      "META_DESCRIPTION" => "-"
      "BROWSER_TITLE" => "-"
      "DETAIL_SET_CANONICAL_URL" => "N"
      "DETAIL_ACTIVE_DATE_FORMAT" => "d.m.Y"
      "DETAIL_FIELD_CODE" => array:2 [
        0 => ""
        1 => ""
      ]
      "DETAIL_PROPERTY_CODE" => array:2 [
        0 => "production"
        1 => ""
      ]
      "DETAIL_DISPLAY_TOP_PAGER" => "N"
      "DETAIL_DISPLAY_BOTTOM_PAGER" => "Y"
      "DETAIL_PAGER_TITLE" => "Страница"
      "DETAIL_PAGER_TEMPLATE" => ""
      "DETAIL_PAGER_SHOW_ALL" => "Y"
      "PAGER_TEMPLATE" => ".default"
      "DISPLAY_TOP_PAGER" => "N"
      "DISPLAY_BOTTOM_PAGER" => "Y"
      "PAGER_TITLE" => "Новости"
      "PAGER_SHOW_ALWAYS" => "N"
      "PAGER_DESC_NUMBERING" => "N"
      "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000"
      "PAGER_SHOW_ALL" => "N"
      "PAGER_BASE_LINK_ENABLE" => "N"
      "SET_STATUS_404" => "Y"
      "SHOW_404" => "Y"
      "MESSAGE_404" => ""
      "TEMPLATE_THEME" => "blue"
      "MEDIA_PROPERTY" => ""
      "SLIDER_PROPERTY" => ""
      "SEF_FOLDER" => "/helpful-information/"
      "STRICT_SECTION_CHECK" => "N"
      "SEF_URL_TEMPLATES" => array:3 [
        "news" => ""
        "section" => ""
        "detail" => "#ELEMENT_CODE#/"
      ]
    ]
    
  4. false
    
/
var
/
www
/
prod
/
bitrix
/
modules
/
main
/
include
/
urlrewrite.php
                continue;
 
            if (!$io->ValidatePathString($url))
                continue;
 
            $urlTmp = strtolower(ltrim($url, "/\\"));
            $urlTmp = str_replace(".", "", $urlTmp);
            $urlTmp7 = substr($urlTmp, 0, 7);
 
            if (($urlTmp7 == "upload/" || ($urlTmp7 == "bitrix/" && substr($urlTmp, 0, 16) != "bitrix/services/" && substr($urlTmp, 0, 18) != "bitrix/groupdavphp")))
                continue;
 
            $ext = strtolower(GetFileExtension($url));
            if ($ext != "php")
                continue;
 
            CHTTP::SetStatus("200 OK");
 
            $_SERVER["REAL_FILE_PATH"] = $url;
            include_once($io->GetPhysicalName($_SERVER['DOCUMENT_ROOT'].$url));
            die();
        }
    }
}
 
//admin section 404
if(strpos($requestUri, "/bitrix/admin/") === 0)
{
    $_SERVER["REAL_FILE_PATH"] = "/bitrix/admin/404.php";
    include($_SERVER["DOCUMENT_ROOT"]."/bitrix/admin/404.php");
    die();
}
 
define("BX_CHECK_SHORT_URI", true);
 
Arguments
  1. "/var/www/prod/helpful-information/index.php"
    
/
var
/
www
/
prod
/
bitrix
/
urlrewrite.php
<?
include_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/urlrewrite.php');
if(file_exists($_SERVER['DOCUMENT_ROOT'].'/404.php'))
    include_once($_SERVER['DOCUMENT_ROOT'].'/404.php');
?>
Arguments
  1. "/var/www/prod/bitrix/modules/main/include/urlrewrite.php"
    

Environment & details:

empty
empty
empty
Key Value
BITRIX_SM_SALE_UID
7802688
Key Value
SESS_AUTH
array:2 [
  "POLICY" => array:13 [
    "SESSION_TIMEOUT" => 24
    "SESSION_IP_MASK" => "0.0.0.0"
    "MAX_STORE_NUM" => 10
    "STORE_IP_MASK" => "0.0.0.0"
    "STORE_TIMEOUT" => 525600
    "CHECKWORD_TIMEOUT" => 525600
    "PASSWORD_LENGTH" => 6
    "PASSWORD_UPPERCASE" => "N"
    "PASSWORD_LOWERCASE" => "N"
    "PASSWORD_DIGITS" => "N"
    "PASSWORD_PUNCTUATION" => "N"
    "LOGIN_ATTEMPTS" => 0
    "PASSWORD_REQUIREMENTS" => "Пароль должен быть не менее 6 символов длиной."
  ]
  "GROUPS" => array:2 [
    0 => 2
    1 => 3
  ]
]
SESS_IP
"54.226.64.30"
SESS_TIME
1548215463
BX_SESSION_SIGN
"3146cb374fead09f84051bac884839ba"
SESS_OPERATIONS
[]
fixed_session_id
"b6114a6436f589877c3893badc3c8894"
referer1
null
referer2
null
referer3
null
SESS_SEARCHER_ID
185
SESS_SEARCHER_NAME
"bot"
SESS_SEARCHER_CHECK_ACTIVITY
"Y"
SESS_SEARCHER_SAVE_STATISTIC
"N"
SESS_SEARCHER_HIT_KEEP_DAYS
null
SESS_LAST_PROTOCOL
null
SESS_LAST_URI
null
SESS_LAST_HOST
null
SESS_LAST_PAGE
null
SESS_LAST_DIR
null
SESS_HTTP_REFERER
null
SESS_COUNTRY_ID
null
SESS_CITY_ID
null
SESS_SESSION_ID
null
SESS_REFERER_ID
null
FROM_SEARCHER_ID
null
SESS_FROM_SEARCHERS
null
SESS_REQUEST_URI_CHANGE
null
SESS_LAST_DIR_ID
null
SESS_LAST_PAGE_ID
null
SESS_GRABBER_STOP_TIME
null
SESS_GRABBER_DEFENCE_STACK
null
ACTIVITY_EXCEEDING_NOTIFIED
null
VOTE
array:1 [
  "VOTES" => []
]
BITRIX_CONVERSION_CONTEXT_s1
array:3 [
  "ID" => null
  "EXPIRE" => 1548251940
  "UNIQUE" => []
]
SALE_USER_ID
7802688
Key Value
USER
"azbyka"
HOME
"/home/azbyka"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"azbykamebeli.ru"
HTTP_IF_MODIFIED_SINCE
"Tue, 13 Nov 2018 23:08:01 UTC"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
REDIRECT_STATUS
"200"
SERVER_NAME
"azbykamebeli.ru"
SERVER_PORT
"443"
SERVER_ADDR
"92.53.104.112"
REMOTE_PORT
"37776"
REMOTE_ADDR
"54.226.64.30"
SERVER_SOFTWARE
"nginx/1.10.3"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/var/www/prod"
DOCUMENT_URI
"/bitrix/urlrewrite.php"
REQUEST_URI
"/helpful-information/bed-with-orthopedic-base-will-spend-the-best-third-of-your-life-with-pleasure/"
SCRIPT_NAME
"/bitrix/urlrewrite.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
SCRIPT_FILENAME
"/var/www/prod/bitrix/urlrewrite.php"
PATH_INFO
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
""
REQUEST_TIME_FLOAT
1548215463.8815
REQUEST_TIME
1548215463
REAL_FILE_PATH
"/helpful-information/index.php"
APP_ENV
"PRODUCTION"
Key Value
APP_ENV
"PRODUCTION"
0. Whoops\Handler\PrettyPageHandler