• Модуль: webdav
  • Путь к файлу: ~/bitrix/modules/webdav/classes/iblock.php
  • Класс: CWebDavIblock
  • Вызов: CWebDavIblock::GetProperties
function GetProperties()
{
	static $dataType = 'GetIblockProperties';
	$arProps = $this->_dataCache($dataType);
	if (!$arProps)
	{
		$rIBProps = CIBlockProperty::GetList(
			Array(
				"SORT" => "ASC",
				"NAME" => "ASC"
			),
			Array(
				"ACTIVE" => "Y",
				"IBLOCK_ID" => $this->IBLOCK_ID
			)
		);
		if (!$rIBProps)
			return false;

		$arProps = array();
		while ($arIBProp = $rIBProps->Fetch())
		{
			$arProps[$arIBProp['CODE']] = $arIBProp;
		}

		$this->_dataCache($dataType, $arProps);
	}
	return $arProps;
}