CBitrixCloudCDNClass::setExtensions: Bitrix method

      
<?php 
//  CBitrixCloudCDNClass :: setExtensions()
//  /dist/bitrix/modules/bitrixcloud/classes/general/cdn_class.php:30

    
public function setExtensions($extensions)
    {
        
$this->extensions /*.(array[int]string).*/ array();
        if (
is_array($extensions))
        {
            foreach (
$extensions as $extension)
            {
                
$extension trim($extension" \t\n\r");
                if (
$extension != "")
                    
$this->extensions[] = $extension;
            }
        }
        return 
$this;
    }