Bex\Bbc\Components\ElementsDetail::executeMain PHP Method

executeMain() protected method

protected executeMain ( )
    protected function executeMain()
    {
        $rsElement = \CIBlockElement::GetList(array(), $this->getParamsFilters(), false, false, $this->getParamsSelected());
        $processingMethod = $this->getProcessingMethod();
        if ($element = $rsElement->{$processingMethod}()) {
            if ($arElement = $this->processingElementsResult($element)) {
                $this->arResult = array_merge($this->arResult, $arElement);
            }
            $this->setResultCacheKeys(array('ID', 'IBLOCK_ID', 'CODE', 'NAME', 'IBLOCK_SECTION_ID', 'IBLOCK', 'LIST_PAGE_URL', 'SECTION_URL', 'SECTION'));
        } elseif ($this->arParams['SET_404'] === 'Y') {
            $this->return404();
        }
    }