CBitrixCloudCDNWebService :: getActionURL: Bitrix method

      
<?php 
//  CBitrixCloudCDNWebService :: getActionURL()
//  /dist/bitrix/modules/bitrixcloud/classes/general/cdn_webservice.php:30

    
protected function getActionURL($arParams /*.(array[string]string).*/ array())
    {
        
$arErrors /*.(array[int]string).*/ array();
        
$domainTmp CBXPunycode::ToASCII($this->domain$arErrors);
        if (
strlen($domainTmp) > 0)
            
$domain $domainTmp;
        else
            
$domain $this->domain;

        
$arParams["license"] = md5(LICENSE_KEY);
        
$arParams["domain"] = $domain;
        if (isset(
$this->https))
            
$arParams["https"] = ($this->https"Y""N");
        if (isset(
$this->optimize))
            
$arParams["optimize"] = ($this->optimize"Y""N");
        
$url COption::GetOptionString("bitrixcloud""cdn_policy_url");
        
$url CHTTP::urlAddParams($url$arParams, array(
            
"encode" => true,
        ));
        return 
$url;
    }