CBitrixCloudMonitoring :: getDevices: Bitrix method

      
<?php 
//  CBitrixCloudMonitoring :: getDevices()
//  /dist/bitrix/modules/bitrixcloud/classes/general/monitoring.php:102

    
public function getDevices($domain)
    {
        
$result = array();
        
$option CBitrixCloudOption::getOption('monitoring_devices');
        
$devices $option->getArrayValue();
        foreach(
$devices as $domain_device)
        {
            if (list (
$myDomain$myDevice) = explode("|"$domain_device2))
            {
                if (
$myDomain === $domain)
                    
$result[] = $myDevice;
            }
        }
        return 
$result;
    }