CBitrixCloudMonitoringResult :: loadFromOptions: Bitrix method

      
<?php 
//  CBitrixCloudMonitoringResult :: loadFromOptions()
//  /dist/bitrix/modules/bitrixcloud/classes/general/monitoring_result.php:360

    
public static function loadFromOptions()
    {
        
$domains = new CBitrixCloudMonitoringResult;
        foreach (
CBitrixCloudOption::getOption("monitoring_result")->getArrayValue() as $i => $domainName)
        {
            
$domains->addDomainResult(CBitrixCloudMonitoringDomainResult::loadFromOptions(
                
$domainName,
                
CBitrixCloudOption::getOption("monitoring_result_$i")
            ));
        }
        return 
$domains;
    }