• Модуль: dav
  • Путь к файлу: ~/bitrix/modules/dav/classes/general/addressbookhandler.php
  • Класс: CDavAddressbookHandler
  • Вызов: CDavAddressbookHandler::Read
public function Read($collectionId, $id)
{
	if ($this->IsMacAgent())
	{
		$res = $this->GetDefaultResourceProvider()->Read($collectionId, $id);
	}
	else
	{
		$arPath = explode('/', $this->groupdav->GetRequest()->GetPath());

		if (!empty($this->addressbookCollections[$arPath[4]]))
			$res = $this->addressbookCollections[$arPath[4]]->Read($collectionId, $id);
		else
			$res = false;
	}

	return $res;
}