• Модуль: webdav
  • Путь к файлу: ~/bitrix/modules/webdav/classes/iblocksocnetevent.php
  • Класс: CWebDavSocNetEvent
  • Вызов: CWebDavSocNetEvent::ShowIBlockByID
static function ShowIBlockByID($arEntityDesc, $strEntityURL, $arParams)
{
	$url = str_replace("#SITE_DIR#", SITE_DIR, $arEntityDesc["LIST_PAGE_URL"]);
	if (mb_strpos($url, "/") === 0)
		$url = "/".ltrim($url, "/");

	$name = "".$arEntityDesc["NAME"]."";
	return $name;
}