• Модуль: webdav
  • Путь к файлу: ~/bitrix/modules/webdav/classes/virtual.php
  • Класс: CWebDavVirtual
  • Вызов: CWebDavVirtual::CheckWebRights
function CheckWebRights($method = "", $arParams = array(), $simple = true)
{
	$strong = ($method !== "");

	$path = '';
	if (is_array($arParams['arElement']))
		$path = (isset($arParams['arElement']['item_id']) ? $arParams['arElement']['item_id'] : '');
	elseif (is_string($arParams['arElement']))
		$path = $arParams['arElement'];
	$result = $this->CheckRights($method, $strong, $path);
	//if ((! $result) || $simple) 
		return $result;
}