CCrmMeasureRestProxy::innerGetList

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmMeasureRestProxy
  4. innerGetList
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
  • Класс: \CCrmMeasureRestProxy
  • Вызов: CCrmMeasureRestProxy::innerGetList
protected function innerGetList($order, $filter, $select, $navigation, &$errors)
{
	if (!CModule::IncludeModule('catalog'))
	{
		$errors[] = 'The Commercial Catalog module is not installed.';
		return false;
	}

	$userPermissions = CCrmAuthorizationHelper::GetUserPermissions();
	if (!CCrmAuthorizationHelper::CheckConfigurationReadPermission($userPermissions))
	{
		$errors[] = 'Access denied.';
		return false;
	}
	unset($userPermissions);

	return CCatalogMeasure::getList($order, $filter, false, $navigation, $select);
}

Добавить комментарий