private function getSectionByXML($xml_id, $iblock_id) { if (isset($this->arGroupsCache[$xml_id])) { return $this->arGroupsCache[$xml_id]; } $params = array( 'select' => array('ID', 'ACTIVE'), 'filter' => array( '=IBLOCK_ID' => $iblock_id, '=XML_ID' => $xml_id ) ); return $this->arGroupsCache[$xml_id] = SectionTable::getRow($params); }