• Модуль: rest
  • Путь к файлу: ~/bitrix/modules/rest/classes/general/restentity.php
  • Класс: CBitrixRestEntity
  • Вызов: CBitrixRestEntity::getEntityIBlockCode
static function getEntityIBlockCode($entity, CRestServer $server)
{
	if(!$server->getClientId())
	{
		throw new AccessException("Application context required");
	}

	return self::ENTITY_IBLOCK_CODE_PREFIX."_".$server->getClientId()."_".$entity;
}