• Модуль: lists
  • Путь к файлу: ~/bitrix/modules/lists/classes/general/listfield.php
  • Класс: CListPropertyField
  • Вызов: CListPropertyField::getPropertyArrayFromCache
private function getPropertyArrayFromCache($id)
{
	//Cache iblock metadata in order to reduce queries
	if(!array_key_exists($this->_iblock_id, self::$prop_cache))
	{
		self::$prop_cache[$this->_iblock_id] = array();

		$rsProperties = CIBlockProperty::GetList(array(), array(
			"IBLOCK_ID" => $this->_iblock_id,
			"CHECK_PERMISSIONS" => "N",
			"ACTIVE" => "Y",
		));
		while($arProperty = $rsProperties->Fetch())
			self::$prop_cache[$this->_iblock_id][$arProperty["ID"]] = $arProperty;
	}
	return self::$prop_cache[$this->_iblock_id][$id];
}