• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/iblockpropresult.php
  • Класс: CIBlockPropertyResult
  • Вызов: CIBlockPropertyResult::initPropertiesValues
private function initPropertiesValues($IBLOCK_ELEMENT_ID)
{
	$this->arPropertiesValues["IBLOCK_ELEMENT_ID"] = $IBLOCK_ELEMENT_ID;
	foreach ($this->arProperties as $arProp)
	{
		if ($arProp["MULTIPLE"] == "Y")
			$this->arPropertiesValues[$arProp["ID"]] = array();
		else
			$this->arPropertiesValues[$arProp["ID"]] = false;
		if ($this->extMode)
		{
			if ($arProp["MULTIPLE"] == "Y")
			{
				$this->arPropertyValuesID[$arProp["ID"]] = array();
				$this->arDescriptions[$arProp["ID"]] = array();
			}
			else
			{
				$this->arPropertyValuesID[$arProp["ID"]] = '';
				$this->arDescriptions[$arProp["ID"]] = null;
			}
		}
	}
}