43 if ($entity ===
"property")
47 if ($this->fields[
"IBLOCK_ID"] > 0)
50 $this->
property->setIblockId($this->fields[
"IBLOCK_ID"]);
57 elseif ($entity ===
"iblock")
61 if ($this->fields[
"IBLOCK_ID"] > 0)
62 $this->iblock =
new Iblock($this->fields[
"IBLOCK_ID"]);
68 elseif ($entity ===
"parent")
72 if ($this->fields[
"IBLOCK_SECTION_ID"] > 0)
73 $this->parent =
new Section($this->fields[
"IBLOCK_SECTION_ID"]);
79 elseif ($entity ===
"sections")
83 if ($this->fields[
"IBLOCK_SECTION_ID"] > 0)
84 $this->sections =
new SectionPath($this->fields[
"IBLOCK_SECTION_ID"]);
90 elseif ($entity ===
"catalog")
94 if (\
Bitrix\Main\Loader::includeModule(
'catalog'))
101 return parent::resolve($entity);