...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_product_section.php
- Класс: \CCrmProductSection
- Вызов: CCrmProductSection::GetList
static function GetList($arOrder = array(), $arFilter = array(), $arSelectFields = array(), $arNavStartParams = false) { if (!CModule::IncludeModule('iblock')) { return false; } if(!is_array($arFilter)) { $arFilter = array(); } $catalogID = isset($arFilter['CATALOG_ID']) ? intval($arFilter['CATALOG_ID']) : 0; if(!($catalogID > 0 && CCrmCatalog::Exists($catalogID))) { $catalogID = CCrmCatalog::EnsureDefaultExists(); } $arFilter['CATALOG_ID'] = $catalogID; $section = new CIBlockSection(); $effectiveFilter = CCrmProductSectionDbResult::MapKeys($arFilter); if(isset($effectiveFilter['IBLOCK_SECTION_ID'])) { $effectiveFilter['SECTION_ID'] = (int)$effectiveFilter['IBLOCK_SECTION_ID']; } return new CCrmProductSectionDbResult( $section->GetList( CCrmProductSectionDbResult::MapKeys($arOrder), $effectiveFilter, false, CCrmProductSectionDbResult::MapValues($arSelectFields), $arNavStartParams ) ); }