/** * Родительский раздел * @return IblockSection */ public function getSection() { if (!$this->_section) { $this->_section = IblockSection::getByPrimary($this->_fields['IBLOCK_SECTION_ID']); } return $this->_section; }
/** * Связный раздел * @return IblockSection */ public function getValueSection() { return IblockSection::getByPrimary($this->_fields['VALUE']); }