42 parent::setFields($fields);
44 is_array($this->fields)
45 && $this->iblockId > 0
48 foreach ($this->fields as $id => $value)
50 if (mb_substr($id, 0, 3) ===
"UF_")
53 $fieldCode = mb_strtolower(mb_substr($id, 3));
54 $this->fieldMap[$fieldCode] = $propertyCode;
69 global $USER_FIELD_MANAGER;
71 if (!isset($this->fields) && $this->iblockId > 0)
73 $userFields = $USER_FIELD_MANAGER->getUserFields(
74 "IBLOCK_".$this->iblockId.
"_SECTION",
77 foreach ($userFields as $id => $uf)
79 $this->addField(mb_substr($id, 3), $id, $uf[
"VALUE"]);
82 return is_array($this->fields);